Module: sip-router
Branch: master
Commit: 89f9f0c10c10c09218576129e3fdc3da55355c48
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=89f9f0c…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Sep 3 13:15:35 2014 -0400
lib/srdb1: fix clang compiler warning
---
lib/srdb1/db_val.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/lib/srdb1/db_val.c b/lib/srdb1/db_val.c
index dc2ea4b..1bdc2bc 100644
--- a/lib/srdb1/db_val.c
+++ b/lib/srdb1/db_val.c
@@ -183,6 +183,9 @@ int db_str2val(const db_type_t _t, db_val_t* _v, const char* _s, const
int _l,
VAL_BLOB(_v).len = _l;
VAL_TYPE(_v) = DB1_BLOB;
return 0;
+
+ default:
+ return -10;
}
return -10;
}