Module: kamailio
Branch: master
Commit: 1874dd1062fbc186316ddc91ae87a22b18d16951
URL:
https://github.com/kamailio/kamailio/commit/1874dd1062fbc186316ddc91ae87a22…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Committer: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2015-05-21T22:45:05+02:00
db_perlvdb: clean gcc warning
perlvdb_conv.c:99:2: warning: enumeration value âDB1_UNKNOWNâ not handled in switch
[-Wswitch]
---
Modified: modules/db_perlvdb/perlvdb_conv.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1874dd1062fbc186316ddc91ae87a22…
Patch:
https://github.com/kamailio/kamailio/commit/1874dd1062fbc186316ddc91ae87a22…
---
diff --git a/modules/db_perlvdb/perlvdb_conv.c b/modules/db_perlvdb/perlvdb_conv.c
index d019006..5a0c7c0 100644
--- a/modules/db_perlvdb/perlvdb_conv.c
+++ b/modules/db_perlvdb/perlvdb_conv.c
@@ -140,6 +140,9 @@ inline SV *valdata(db_val_t* val) {
case DB1_BITMAP:
data = newSViv(VAL_BITMAP(val));
break;
+
+ default:
+ break;
}
return data;