From: Christian Heimes Date: Wed, 31 Jul 2013 22:12:06 +0000 (+0200) Subject: Initialize utime with 0. It fixes a couple of compiler warnung: X-Git-Tag: v3.4.0a1~32 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=abe639f1150a770b2435417330c1c2a5a2e239ab;p=python Initialize utime with 0. It fixes a couple of compiler warnung: warning: 'utime.mtime_ns' may be used uninitialized in this function [-Wmaybe-uninitialized] --- abe639f1150a770b2435417330c1c2a5a2e239ab diff --cc Modules/posixmodule.c index 1ae04c4f49,1ca12f3c70..820983c7b0 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@@ -4493,7 -4751,7 +4493,8 @@@ posix_utime(PyObject *self, PyObject *a PyObject *return_value = NULL; memset(&path, 0, sizeof(path)); + path.function_name = "utime"; + memset(&utime, 0, sizeof(utime_t)); #if UTIME_HAVE_FD path.allow_fd = 1; #endif