[Python-checkins] python/dist/src/Python ceval.c,2.345,2.346

rhettinger@users.sourceforge.net rhettinger@users.sourceforge.net
Tue, 14 Jan 2003 04:43:13 -0800


Update of /cvsroot/python/python/dist/src/Python
In directory sc8-pr-cvs1:/tmp/cvs-serv19531

Modified Files:
	ceval.c 
Log Message:
Replaced POP() with STACKADJ(-1) on lines where the result wasn't used.

The two are semantically equivalent, but the first triggered a compiler
warning about an unused variable.  Note, the preceding steps had already
accessed and decreffed the variable so the reference counts were fine.


Index: ceval.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Python/ceval.c,v
retrieving revision 2.345
retrieving revision 2.346
diff -C2 -d -r2.345 -r2.346
*** ceval.c	10 Jan 2003 16:45:17 -0000	2.345
--- ceval.c	14 Jan 2003 12:43:10 -0000	2.346
***************
*** 921,925 ****
  				continue;
  			}
! 			POP();
  			break;
  
--- 921,925 ----
  				continue;
  			}
! 			STACKADJ(-1);
  			break;
  
***************
*** 1961,1965 ****
  				continue;
  			}
! 			POP();
  			break;
  
--- 1961,1965 ----
  				continue;
  			}
! 			STACKADJ(-1);
  			break;