mirror of
https://github.com/python/cpython.git
synced 2025-11-03 19:34:08 +00:00
Silence compiler warning.
This commit is contained in:
parent
154b7ad07e
commit
2db56878f6
1 changed files with 4 additions and 1 deletions
|
|
@ -155,8 +155,11 @@ get_pylong(PyObject *v)
|
||||||
assert(PyLong_Check(v));
|
assert(PyLong_Check(v));
|
||||||
r = v;
|
r = v;
|
||||||
}
|
}
|
||||||
else
|
else {
|
||||||
|
r = NULL; /* silence compiler warning about
|
||||||
|
possibly uninitialized variable */
|
||||||
assert(0); /* shouldn't ever get here */
|
assert(0); /* shouldn't ever get here */
|
||||||
|
}
|
||||||
|
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue