Browse code

app_jsdt: init timeval structures

Daniel-Constantin Mierla authored on 07/04/2021 08:29:24
Showing 1 changed files
... ...
@@ -1339,7 +1339,7 @@ int sr_kemi_jsdt_exec_func(duk_context *J, int eidx)
1339 1339
 {
1340 1340
 	sr_kemi_t *ket;
1341 1341
 	int ret;
1342
-	struct timeval tvb, tve;
1342
+	struct timeval tvb ={0}, tve = {0};
1343 1343
 	struct timezone tz;
1344 1344
 	unsigned int tdiff;
1345 1345
 	int sline = 0;