From: Benjamin Peterson Date: Thu, 7 Jul 2016 07:24:26 +0000 (-0700) Subject: initialize variable to appease gcc X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e5fa8b0b0d998557b9679ffa3aaec9292fa7855b;p=python initialize variable to appease gcc --- diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index cd6df92581..9c5fa54b89 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; \