commit | a5ccda95f26abae0eb854d9619d4f80ec1cd6606 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Oct 28 21:16:54 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Oct 28 21:16:54 2006 +0000 |
tree | ef94650c5137ddb230e7e7a8ef166dbb08c823f7 | |
parent | 837ce9389e246c84a8791cf0ed64b277efce1f6b [diff] [blame] |
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.
diff --git a/Objects/setobject.c b/Objects/setobject.c index 440b2fb..9d72b33 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c
@@ -179,6 +179,8 @@ if (entry->key == dummy && freeslot == NULL) freeslot = entry; } + assert(0); /* NOT REACHED */ + return 0; } /*