Module: kamailio
Branch: master
Commit: 102b7c62ae9877151ce542b8b5747051fb954acb
URL:
https://github.com/kamailio/kamailio/commit/102b7c62ae9877151ce542b8b574705…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-01-11T09:02:11+01:00
db_text: init variable to fix warning
---
Modified: src/modules/db_text/dbt_file.c
---
Diff:
https://github.com/kamailio/kamailio/commit/102b7c62ae9877151ce542b8b574705…
Patch:
https://github.com/kamailio/kamailio/commit/102b7c62ae9877151ce542b8b574705…
---
diff --git a/src/modules/db_text/dbt_file.c b/src/modules/db_text/dbt_file.c
index 8b88ed8074..6480210ebc 100644
--- a/src/modules/db_text/dbt_file.c
+++ b/src/modules/db_text/dbt_file.c
@@ -87,7 +87,7 @@ dbt_table_p dbt_load_file(const str *tbn, const str *dbn)
char path[512];
char *buf;
int c, crow, ccol, bp, sign, max_auto;
- dbt_val_t dtval;
+ dbt_val_t dtval = {0};
dbt_table_p dtp = NULL;
dbt_column_p colp, colp0 = NULL;
dbt_row_p rowp, rowp0 = NULL;