Browse code

app_lua: init timeval structures

Daniel-Constantin Mierla authored on 07/04/2021 08:29:24
Showing 1 changed files
... ...
@@ -1605,7 +1605,7 @@ int sr_kemi_lua_exec_func(lua_State* L, int eidx)
1605 1605
 {
1606 1606
 	sr_kemi_t *ket;
1607 1607
 	int ret;
1608
-	struct timeval tvb, tve;
1608
+	struct timeval tvb = {0}, tve = {0};
1609 1609
 	struct timezone tz;
1610 1610
 	unsigned int tdiff;
1611 1611
 	lua_Debug dinfo;