changeset 1457:94fe7180f9bf

cdefer: Got rid of compiler warnings.
author Marcel Keller <mkeller@cs.au.dk>
date Wed, 21 Jul 2010 15:33:28 +0200
parents 13047948a989
children 5f8025eb7c0c
files viff/cdefer.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/viff/cdefer.c	Wed Jul 21 15:06:52 2010 +0200
+++ b/viff/cdefer.c	Wed Jul 21 15:33:28 2010 +0200
@@ -529,6 +529,7 @@
     return result;
 }
 
+/*
 static int cdefer_Deferred__set_debuginfo_fail_result(cdefer_Deferred *self) {
     if (!self->debuginfo) {
         self->debuginfo = PyObject_CallObject(debuginfo_class, NULL);
@@ -550,7 +551,7 @@
     }
     return 0;
 }
-
+*/
 
 static PyObject *cdefer_Deferred__runCallbacks(cdefer_Deferred *self) {
     PyObject *callback;
@@ -559,7 +560,7 @@
     PyObject *newArgs2;
     PyObject *kwargs;
     PyObject *_continue;
-    PyObject *type, *value, *traceback;
+    //PyObject *type, *value, *traceback;
     PyObject *tmp;
     PyObject *result;