From 2db56878f610136e107993ce0c33b67051dfe0ae Mon Sep 17 00:00:00 2001 From: Mark Dickinson Date: Sun, 7 Mar 2010 17:10:19 +0000 Subject: [PATCH] Silence compiler warning. --- Modules/_struct.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.50.1