Module: sip-router
Branch: master
Commit: abe9d1642a70cfd7d5440db692a484b991253862
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=abe9d16…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Sep 3 13:17:32 2014 -0400
db_flatstore: fix clang compiler warning
---
modules/db_flatstore/km_flatstore.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/db_flatstore/km_flatstore.c b/modules/db_flatstore/km_flatstore.c
index cd042c4..abb4602 100644
--- a/modules/db_flatstore/km_flatstore.c
+++ b/modules/db_flatstore/km_flatstore.c
@@ -212,6 +212,10 @@ int flat_db_insert(const db1_con_t* h, const db_key_t* k, const
db_val_t* v,
case DB1_BITMAP:
fprintf(f, "%u", VAL_BITMAP(v + i));
break;
+
+ default:
+ LM_ERR("val type [%d] not supported", VAL_TYPE(v + i));
+ return -1;
}
if (i < (n - 1)) {