diff Python/ceval.c @ 15152:ed49a67869e9 legacy-trunk

Remove the last gcc -Wall warning about possible use of an uninitialized variable. w should be initialized before entering the bytecode interpretation loop since we only need one initialization to satisfy the compiler.
author Fred Drake <fdrake@acm.org>
date Wed, 11 Oct 2000 13:54:07 +0000
parents ca9f6a8e9885
children 2577519d5ea1
line wrap: on
line diff
--- a/Python/ceval.c	Wed Oct 11 07:04:49 2000 +0000
+++ b/Python/ceval.c	Wed Oct 11 13:54:07 2000 +0000
@@ -578,6 +578,7 @@
 	why = WHY_NOT;
 	err = 0;
 	x = Py_None;	/* Not a reference, just anything non-NULL */
+	w = NULL;
 	
 	for (;;) {
 		/* Do periodic things.  Doing this every time through