summaryrefslogtreecommitdiffstats
path: root/Objects/intobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1992-03-27 17:31:02 (GMT)
committerGuido van Rossum <guido@python.org>1992-03-27 17:31:02 (GMT)
commit719f5fa86a681e38ad35a11338993a91b579a64e (patch)
tree923027dddf4a26a18e462a6c0d4aa8852f040b27 /Objects/intobject.c
parentdcc6ef2144b17ea971c5a5ef007c4bb9e8034bfd (diff)
downloadcpython-719f5fa86a681e38ad35a11338993a91b579a64e.zip
cpython-719f5fa86a681e38ad35a11338993a91b579a64e.tar.gz
cpython-719f5fa86a681e38ad35a11338993a91b579a64e.tar.bz2
lint fix
Diffstat (limited to 'Objects/intobject.c')
-rw-r--r--Objects/intobject.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/Objects/intobject.c b/Objects/intobject.c
index 6b983f1..4c56bda 100644
--- a/Objects/intobject.c
+++ b/Objects/intobject.c
@@ -114,11 +114,12 @@ getintvalue(op)
/* Methods */
+/* ARGSUSED */
static int
int_print(v, fp, flags)
intobject *v;
FILE *fp;
- int flags;
+ int flags; /* Not used but required by interface */
{
fprintf(fp, "%ld", v->ob_ival);
return 0;
@@ -239,7 +240,7 @@ int_mod(x, y)
long d, m;
if (i_divmod(x, y, &d, &m) < 0)
return NULL;
- newintobject(m);
+ return newintobject(m);
}
static object *