]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
com_error(): Quiet gcc -Wall warning.
authorBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 19:59:20 +0000 (19:59 +0000)
committerBarry Warsaw <barry@python.org>
Fri, 18 Aug 2000 19:59:20 +0000 (19:59 +0000)
Python/compile.c

index e18f627dd83fff555d0e3f8a66f275db35bba3cc..47445d067911738e9b6eeaa0f4c6ed08f55054c8 100644 (file)
@@ -303,7 +303,6 @@ struct compiling {
 static void
 com_error(struct compiling *c, PyObject *exc, char *msg)
 {
-       size_t n = strlen(msg);
        PyObject *v, *tb, *tmp;
        c->c_errors++;
        if (c->c_lineno <= 1) {