commit | e5fa8b0b0d998557b9679ffa3aaec9292fa7855b | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Jul 07 00:24:26 2016 -0700 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Jul 07 00:24:26 2016 -0700 |
tree | 8ae3eb45ea5f8f644fde8f7d038892c36cdb2be4 | |
parent | 42e1029564645f730e6519d0c6cf3db1014f6c54 [diff] |
initialize variable to appease gcc
diff --git a/Modules/socketmodule.c b/Modules/socketmodule.c index cd6df92..9c5fa54 100644 --- a/Modules/socketmodule.c +++ b/Modules/socketmodule.c
@@ -780,7 +780,7 @@ */ #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; \