summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-02-14 21:12:56 (GMT)
committerGuido van Rossum <guido@python.org>1997-02-14 21:12:56 (GMT)
commit0f4bbd2f34dab045a8c3eed6413aea770f545d8c (patch)
tree738e21fd7ee84f27b854f0378967a86c7c092670
parentbae95189b0e391cfb57019e503ab9d553786691f (diff)
downloadcpython-0f4bbd2f34dab045a8c3eed6413aea770f545d8c.zip
cpython-0f4bbd2f34dab045a8c3eed6413aea770f545d8c.tar.gz
cpython-0f4bbd2f34dab045a8c3eed6413aea770f545d8c.tar.bz2
Keep gcc -Wall happy.
-rw-r--r--Objects/cobject.c4
-rw-r--r--Python/marshal.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/Objects/cobject.c b/Objects/cobject.c
index 49b7bc9..6b757d5 100644
--- a/Objects/cobject.c
+++ b/Objects/cobject.c
@@ -82,9 +82,9 @@ PyCObject_Import(module_name, name)
PyObject *m, *c;
void *r=NULL;
- if(m=PyImport_ImportModule(module_name))
+ if((m=PyImport_ImportModule(module_name)))
{
- if(c=PyObject_GetAttrString(m,name))
+ if((c=PyObject_GetAttrString(m,name)))
{
r=PyCObject_AsVoidPtr(c);
Py_DECREF(c);
diff --git a/Python/marshal.c b/Python/marshal.c
index cd898b2..0ad493a 100644
--- a/Python/marshal.c
+++ b/Python/marshal.c
@@ -522,7 +522,7 @@ r_object(p)
object *varnames = NULL;
object *filename = NULL;
object *name = NULL;
- int firstlineno;
+ int firstlineno = 0;
object *lnotab = NULL;
code = r_object(p);