diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-03-07 17:10:19 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-03-07 17:10:19 (GMT) |
commit | 2db56878f610136e107993ce0c33b67051dfe0ae (patch) | |
tree | 252642c121cd052cbeea84445ef0ed01e0b40dbc /Modules | |
parent | 154b7ad07e775f15a0a556c7ec3ae5ab5762ae1e (diff) | |
download | cpython-2db56878f610136e107993ce0c33b67051dfe0ae.zip cpython-2db56878f610136e107993ce0c33b67051dfe0ae.tar.gz cpython-2db56878f610136e107993ce0c33b67051dfe0ae.tar.bz2 |
Silence compiler warning.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/_struct.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Modules/_struct.c b/Modules/_struct.c index e8fe67d..d09013f 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; } |