From: Mark Dickinson Date: Sun, 7 Mar 2010 17:10:19 +0000 (+0000) Subject: Silence compiler warning. X-Git-Tag: v2.7b1~431 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2db56878f610136e107993ce0c33b67051dfe0ae;p=python Silence compiler warning. --- diff --git a/Modules/_struct.c b/Modules/_struct.c index e8fe67d5fa..d09013fe4e 100644 --- a/Modules/_struct.c +++ b/Modules/_struct.c @@ -155,8 +155,11 @@ get_pylong(PyObject *v) assert(PyLong_Check(v)); r = v; } - else + else { + r = NULL; /* silence compiler warning about + possibly uninitialized variable */ assert(0); /* shouldn't ever get here */ + } return r; }