diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2006-10-28 21:16:54 +0000 |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-10-28 21:16:54 +0000 |
commit | a5ccda95f26abae0eb854d9619d4f80ec1cd6606 (patch) | |
tree | ef94650c5137ddb230e7e7a8ef166dbb08c823f7 /Objects/setobject.c | |
parent | 837ce9389e246c84a8791cf0ed64b277efce1f6b (diff) | |
download | cpython-git-a5ccda95f26abae0eb854d9619d4f80ec1cd6606.tar.gz |
Fix warnings with HP's C compiler. It doesn't recognize that infinite
loops are, um, infinite. These conditions should not be able to happen.
Will backport.
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r-- | Objects/setobject.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index 440b2fba11..9d72b33c0d 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -179,6 +179,8 @@ set_lookkey_string(PySetObject *so, PyObject *key, register long hash) if (entry->key == dummy && freeslot == NULL) freeslot = entry; } + assert(0); /* NOT REACHED */ + return 0; } /* |