Browse code

db_text: init variable to fix warning

Daniel-Constantin Mierla authored on 11/01/2022 08:02:11
Showing 1 changed files
... ...
@@ -87,7 +87,7 @@ dbt_table_p dbt_load_file(const str *tbn, const str *dbn)
87 87
 	char path[512];
88 88
 	char *buf;
89 89
 	int c, crow, ccol, bp, sign, max_auto;
90
-	dbt_val_t dtval;
90
+	dbt_val_t dtval = {0};
91 91
 	dbt_table_p dtp = NULL;
92 92
 	dbt_column_p colp, colp0 = NULL;
93 93
 	dbt_row_p rowp, rowp0 = NULL;