Browse code

app_python3: init timeval structures

Daniel-Constantin Mierla authored on 07/04/2021 08:29:24
Showing 1 changed files
... ...
@@ -1791,7 +1791,7 @@ PyObject *sr_apy_kemi_exec_func(PyObject *self, PyObject *args, int idx)
1791 1791
 	PyObject *ret = NULL;
1792 1792
 	PyThreadState *pstate = NULL;
1793 1793
 	PyFrameObject *pframe = NULL;
1794
-	struct timeval tvb, tve;
1794
+	struct timeval tvb = {0}, tve = {0};
1795 1795
 	struct timezone tz;
1796 1796
 	unsigned int tdiff;
1797 1797