Module: kamailio
Branch: master
Commit: 5a5475f372591b1be5c3dc7851ea509149131509
URL:
https://github.com/kamailio/kamailio/commit/5a5475f372591b1be5c3dc7851ea509…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)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/5a5475f372591b1be5c3dc7851ea509…
Patch:
https://github.com/kamailio/kamailio/commit/5a5475f372591b1be5c3dc7851ea509…
---
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);