diff options
author | Nicholas Bastin <nick.bastin@gmail.com> | 2004-06-17 18:27:18 (GMT) |
---|---|---|
committer | Nicholas Bastin <nick.bastin@gmail.com> | 2004-06-17 18:27:18 (GMT) |
commit | 1ce9e4cfc1b4bb48c209ee23e5454efdcb9ef234 (patch) | |
tree | bbaee58e963b6f92dc92f3c4836edaa6649079da /Modules/collectionsmodule.c | |
parent | 0083c920f27994d8fd01632dd3aca124b61b58c8 (diff) | |
download | cpython-1ce9e4cfc1b4bb48c209ee23e5454efdcb9ef234.zip cpython-1ce9e4cfc1b4bb48c209ee23e5454efdcb9ef234.tar.gz cpython-1ce9e4cfc1b4bb48c209ee23e5454efdcb9ef234.tar.bz2 |
Fixed end-of-loop code not reached warning when using SunPro C
Diffstat (limited to 'Modules/collectionsmodule.c')
-rw-r--r-- | Modules/collectionsmodule.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/collectionsmodule.c b/Modules/collectionsmodule.c index 62b43aa..4026ea5 100644 --- a/Modules/collectionsmodule.c +++ b/Modules/collectionsmodule.c @@ -1,6 +1,10 @@ #include "Python.h" #include "structmember.h" +#ifdef __SUNPRO_C +#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED) +#endif + /* collections module implementation of a deque() datatype Written and maintained by Raymond D. Hettinger <python@rcn.com> Copyright (c) 2004 Python Software Foundation. |