Browse code

app_python3: init timeval structures

(cherry picked from commit 7457b3cefd08595c054291398de0f9a4e62691b7)
(cherry picked from commit 8341025d73c0911683f8bb461d5b5b2594683871)

Daniel-Constantin Mierla authored on 07/04/2021 08:29:24 • Henning Westerholt committed on 22/10/2021 11:43:26
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