From: Nicholas Bastin Date: Fri, 18 Jun 2004 19:57:13 +0000 (+0000) Subject: Disabling end-of-loop code not reached warning on SunPro X-Git-Tag: v2.4a1~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9e1bfe7dd99a6678141bb2f9926b37ffe6b5e1b8;p=thirdparty%2FPython%2Fcpython.git Disabling end-of-loop code not reached warning on SunPro --- diff --git a/Objects/dictobject.c b/Objects/dictobject.c index 70f05e5def37..252db8ad9106 100644 --- a/Objects/dictobject.c +++ b/Objects/dictobject.c @@ -9,6 +9,10 @@ #include "Python.h" +#ifdef __SUNPRO_C +#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED) +#endif + typedef PyDictEntry dictentry; typedef PyDictObject dictobject;