Fix new compiler warnings. Unused var in compile.c. Argsize mismatches
in binascii.c (only on platforms with signed chars -- although Py_CHARMASK
is documented as returning an int, it only does so on platforms with
signed chars).
diff --git a/Modules/binascii.c b/Modules/binascii.c
index 1fe0663..a9e190b 100644
--- a/Modules/binascii.c
+++ b/Modules/binascii.c
@@ -918,7 +918,7 @@
static int
-to_int(char c)
+to_int(int c)
{
if (isdigit(c))
return c - '0';
diff --git a/Python/compile.c b/Python/compile.c
index 30ac41a..7065647 100644
--- a/Python/compile.c
+++ b/Python/compile.c
@@ -305,7 +305,6 @@
{
size_t n = strlen(msg);
PyObject *v, *tb, *tmp;
- char *s;
c->c_errors++;
if (c->c_lineno <= 1) {
/* Unknown line number or single interactive command */