From Bugzilla Helper: User-Agent: Mozilla/4.6 [en-gb]C-CCK-MCD NetscapeOnline.co.uk (Win98; I) Description of problem: Hello there, I just tried to compile package mx-2.0.3-6 from Redhat 8.0 The compiler said mx/Stack/mxStack/mxStack.c:297: warning: operation on `top' may be undefined Here is an untested patch to shut up the compiler. *** ./mx/Stack/mxStack/mxStack.c.old 2003-01-16 21:04:07.000000000 +0000 --- ./mx/Stack/mxStack/mxStack.c 2003-01-16 21:04:31.000000000 +0000 *************** *** 294,300 **** if (!v) { /* Rollback */ while (i > 0) { ! Py_DECREF(stack->array[top--]); i--; } stack->top = top; --- 294,301 ---- if (!v) { /* Rollback */ while (i > 0) { ! Py_DECREF(stack->array[top]); ! top--; i--; } stack->top = top; Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. compile the program 2. 3. Additional info
mx-2.0.5 does not exhibit this problem.