Module: sip-router
Branch: master
Commit: f4c7ac4c0ef5eed2352dc4f0a8070cfbec502efa
URL:
http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=f4c7ac4…
Author: Ovidiu Sas <osas(a)voipembedded.com>
Committer: Ovidiu Sas <osas(a)voipembedded.com>
Date: Wed Sep 3 13:21:13 2014 -0400
db_text: fix clang compiler warning
---
modules/db_text/dbt_api.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/modules/db_text/dbt_api.c b/modules/db_text/dbt_api.c
index 780a80d..82fb00b 100644
--- a/modules/db_text/dbt_api.c
+++ b/modules/db_text/dbt_api.c
@@ -176,6 +176,10 @@ static int dbt_convert_row(db1_con_t* _h, db1_res_t* _res, db_row_t*
_r)
DBT_CON_ROW(_h)->fields[i].val.bitmap_val;
VAL_TYPE(&(ROW_VALUES(_r)[i])) = DB1_INT;
break;
+
+ default:
+ LM_ERR("val type [%d] not supported", RES_TYPES(_res)[i]);
+ return -1;
}
}
return 0;