Commit 0c182a13 authored by Guido van Rossum's avatar Guido van Rossum

Fix lint bug

parent 96163c1d
...@@ -77,7 +77,7 @@ printobject(op, fp, flags) ...@@ -77,7 +77,7 @@ printobject(op, fp, flags)
} }
else { else {
if (op->ob_refcnt <= 0) if (op->ob_refcnt <= 0)
fprintf(fp, "(refcnt %d):", op->ob_refcnt); fprintf(fp, "(refcnt %u):", op->ob_refcnt);
if (op->ob_type->tp_print == NULL) if (op->ob_type->tp_print == NULL)
fprintf(fp, "<%s object at %lx>", fprintf(fp, "<%s object at %lx>",
op->ob_type->tp_name, (long)op); op->ob_type->tp_name, (long)op);
...@@ -188,6 +188,7 @@ There is (and should be!) no way to create other objects of this type, ...@@ -188,6 +188,7 @@ There is (and should be!) no way to create other objects of this type,
so there is exactly one (which is indestructible, by the way). so there is exactly one (which is indestructible, by the way).
*/ */
/* ARGSUSED */
static int static int
none_print(op, fp, flags) none_print(op, fp, flags)
object *op; object *op;
...@@ -198,6 +199,7 @@ none_print(op, fp, flags) ...@@ -198,6 +199,7 @@ none_print(op, fp, flags)
return 0; return 0;
} }
/* ARGSUSED */
static object * static object *
none_repr(op) none_repr(op)
object *op; object *op;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment