Browse code

app_sqlang: init timeval structures

Daniel-Constantin Mierla authored on 07/04/2021 08:29:25
Showing 1 changed files
... ...
@@ -1548,7 +1548,7 @@ int sr_kemi_sqlang_exec_func(HSQUIRRELVM J, int eidx)
1548 1548
 {
1549 1549
 	sr_kemi_t *ket;
1550 1550
 	int ret;
1551
-	struct timeval tvb, tve;
1551
+	struct timeval tvb = {0}, tve = {0};
1552 1552
 	struct timezone tz;
1553 1553
 	unsigned int tdiff;
1554 1554