Module: kamailio Branch: master Commit: 5a5475f372591b1be5c3dc7851ea509149131509 URL: https://github.com/kamailio/kamailio/commit/5a5475f372591b1be5c3dc7851ea509149131509
Author: Victor Seva <linuxman...@torreviejawireless.org> Committer: Victor Seva <linuxman...@torreviejawireless.org> Date: 2018-05-15T20:25:00+02:00 ims_usrloc_pcscf: fix compilation warning > pcontact.c:122:5: warning: enumeration value 'SECURITY_NONE' not handled in > switch [-Wswitch] > switch (_p->type) > ^~~~~~ --- Modified: src/modules/ims_usrloc_pcscf/pcontact.c --- Diff: https://github.com/kamailio/kamailio/commit/5a5475f372591b1be5c3dc7851ea509149131509.diff Patch: https://github.com/kamailio/kamailio/commit/5a5475f372591b1be5c3dc7851ea509149131509.patch --- diff --git a/src/modules/ims_usrloc_pcscf/pcontact.c b/src/modules/ims_usrloc_pcscf/pcontact.c index ff666f8103..60d6b28132 100644 --- a/src/modules/ims_usrloc_pcscf/pcontact.c +++ b/src/modules/ims_usrloc_pcscf/pcontact.c @@ -138,7 +138,8 @@ void free_security(security_t* _p) shm_free(_p->data.tls); break; - //default: Nothing to deallocate + default: // Nothing to deallocate + break; } shm_free(_p); _______________________________________________ Kamailio (SER) - Development Mailing List sr-dev@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev