From: Benjamin Peterson Date: Thu, 7 Jul 2016 07:24:26 +0000 (-0700) Subject: initialize variable to appease gcc X-Git-Tag: v2.7.13rc1~251 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5fa8b0b0d998557b9679ffa3aaec9292fa7855b;p=thirdparty%2FPython%2Fcpython.git initialize variable to appease gcc --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index cd6df9258139..9c5fa54b89ae 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c @@ -780,7 +780,7 @@ internal_select(PySocketSockObject *s, int writing) */ #define BEGIN_SELECT_LOOP(s) \ { \ - double deadline, interval = s->sock_timeout; \ + double deadline = 0, interval = s->sock_timeout; \ int has_timeout = s->sock_timeout > 0.0; \ if (has_timeout) { \ deadline = _PyTime_FloatTime() + s->sock_timeout; \