summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorNicholas Bastin <nick.bastin@gmail.com>2004-06-17 18:27:18 (GMT)
committerNicholas Bastin <nick.bastin@gmail.com>2004-06-17 18:27:18 (GMT)
commit1ce9e4cfc1b4bb48c209ee23e5454efdcb9ef234 (patch)
treebbaee58e963b6f92dc92f3c4836edaa6649079da /Objects/setobject.c
parent0083c920f27994d8fd01632dd3aca124b61b58c8 (diff)
downloadcpython-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 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 289d5d3..e94f920 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -10,6 +10,10 @@
All rights reserved.
*/
+#ifdef __SUNPRO_C
+#pragma error_messages (off,E_END_OF_LOOP_CODE_NOT_REACHED)
+#endif
+
static PyObject *
set_update(PySetObject *so, PyObject *other)
{