comparison Python/ceval.c @ 14068:03401af36b5c legacy-trunk

Remove a couple of warnings turned up by "gcc -Wall".
author Fred Drake <fdrake@acm.org>
date Fri, 18 Aug 2000 19:53:25 +0000
parents 18385172fac0
children 5778f93cf22b
comparison
equal deleted inserted replaced
14067:dc2db4562d06 14068:03401af36b5c
2854 if (opcode == IMPORT_STAR) { 2854 if (opcode == IMPORT_STAR) {
2855 name = PyString_FromString("*"); 2855 name = PyString_FromString("*");
2856 if (!name) 2856 if (!name)
2857 Py_DECREF(list); 2857 Py_DECREF(list);
2858 else { 2858 else {
2859 if (PyList_Append(list, name) < 0) 2859 if (PyList_Append(list, name) < 0) {
2860 Py_DECREF(list); 2860 Py_DECREF(list);
2861 }
2861 Py_DECREF(name); 2862 Py_DECREF(name);
2862 } 2863 }
2863 } else { 2864 } else {
2864 do { 2865 do {
2865 oparg = (next_instr[1]<<8) + next_instr[0]; 2866 oparg = (next_instr[1]<<8) + next_instr[0];