Commit 6374bb5a authored by Guido van Rossum's avatar Guido van Rossum

Shut up compiler warnings.

parent fa331631
...@@ -1745,7 +1745,9 @@ PyCurses_UngetMouse(PyObject *self, PyObject *args) ...@@ -1745,7 +1745,9 @@ PyCurses_UngetMouse(PyObject *self, PyObject *args)
static PyObject * static PyObject *
PyCurses_GetWin(PyCursesWindowObject *self, PyObject *temp) PyCurses_GetWin(PyCursesWindowObject *self, PyObject *temp)
{ {
#if 0
WINDOW *win; WINDOW *win;
#endif
PyCursesInitialised PyCursesInitialised
......
...@@ -36,10 +36,10 @@ ...@@ -36,10 +36,10 @@
PyObject* pysqlite_cursor_iternext(pysqlite_Cursor* self); 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 buf[20];
char* src; const char* src;
char* dst; char* dst;
src = statement; src = statement;
......
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