Browse code

app_sqlang: init timeval structures

(cherry picked from commit e8583372cb1078a29bb6526c11f838e30811b94a)
(cherry picked from commit 7d5ab8071aef32d2c59f6acc7e93923fb76eec04)

Daniel-Constantin Mierla authored on 07/04/2021 08:29:25 • Henning Westerholt committed on 22/10/2021 11:43:39
Showing 1 changed files
... ...
@@ -1538,7 +1538,7 @@ int sr_kemi_sqlang_exec_func(HSQUIRRELVM J, int eidx)
1538 1538
 {
1539 1539
 	sr_kemi_t *ket;
1540 1540
 	int ret;
1541
-	struct timeval tvb, tve;
1541
+	struct timeval tvb = {0}, tve = {0};
1542 1542
 	struct timezone tz;
1543 1543
 	unsigned int tdiff;
1544 1544