commit | 1ce9e4cfc1b4bb48c209ee23e5454efdcb9ef234 | [log] [tgz] |
---|---|---|
author | Nicholas Bastin <nick.bastin@gmail.com> | Thu Jun 17 18:27:18 2004 +0000 |
committer | Nicholas Bastin <nick.bastin@gmail.com> | Thu Jun 17 18:27:18 2004 +0000 |
tree | bbaee58e963b6f92dc92f3c4836edaa6649079da | |
parent | 0083c920f27994d8fd01632dd3aca124b61b58c8 [diff] [blame] |
Fixed end-of-loop code not reached warning when using SunPro C
diff --git a/Objects/listobject.c b/Objects/listobject.c index ac8cd33..4385e4b 100644 --- a/Objects/listobject.c +++ b/Objects/listobject.c
@@ -2,6 +2,10 @@ #include "Python.h" +#ifdef __SUNPRO_C +#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED) +#endif + #ifdef STDC_HEADERS #include <stddef.h> #else