From 6374bb5a699a6e21214bec2bbe2e527fd219b8ba Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Wed, 13 Jun 2007 16:28:25 +0000
Subject: Shut up compiler warnings.

---
 Modules/_cursesmodule.c  | 2 ++
 Modules/_sqlite/cursor.c | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/Modules/_cursesmodule.c b/Modules/_cursesmodule.c
index 2680320..7981d51 100644
--- a/Modules/_cursesmodule.c
+++ b/Modules/_cursesmodule.c
@@ -1745,7 +1745,9 @@ PyCurses_UngetMouse(PyObject *self, PyObject *args)
 static PyObject *
 PyCurses_GetWin(PyCursesWindowObject *self, PyObject *temp)
 {
+#if 0
   WINDOW *win;
+#endif
 
   PyCursesInitialised
 
diff --git a/Modules/_sqlite/cursor.c b/Modules/_sqlite/cursor.c
index cbb030e..4e81307 100644
--- a/Modules/_sqlite/cursor.c
+++ b/Modules/_sqlite/cursor.c
@@ -36,10 +36,10 @@
 
 PyObject* pysqlite_cursor_iternext(pysqlite_Cursor* self);
 
-static pysqlite_StatementKind detect_statement_type(char* statement)
+static pysqlite_StatementKind detect_statement_type(const char* statement)
 {
     char buf[20];
-    char* src;
+    const char* src;
     char* dst;
 
     src = statement;
-- 
cgit v0.12

