Browse code

app_python: init timeval structures

Daniel-Constantin Mierla authored on 07/04/2021 08:29:24
Showing 1 changed files
... ...
@@ -1783,7 +1783,7 @@ PyObject *sr_apy_kemi_exec_func(PyObject *self, PyObject *args, int idx)
1783 1783
 	PyObject *ret = NULL;
1784 1784
 	PyThreadState *pstate = NULL;
1785 1785
 	PyFrameObject *pframe = NULL;
1786
-	struct timeval tvb, tve;
1786
+	struct timeval tvb = {0}, tve = {0};
1787 1787
 	struct timezone tz;
1788 1788
 	unsigned int tdiff;
1789 1789