commit | 7e3ec048f988b08392cc04c8cb7cf4d66da11580 | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Sat Oct 28 21:37:16 2006 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Sat Oct 28 21:37:16 2006 +0000 |
tree | c60ff6d28a864ea1f6f26dc7df5fd821c4706a29 | |
parent | b5fdf0da2151527b9f7625e41ac40cfdceb0f8f3 [diff] [blame] |
Backport 52502: 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.
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; } /*