Shut up compiler warnings.

This commit is contained in:
Guido van Rossum 2007-06-13 16:28:25 +00:00
parent fa331631d4
commit 6374bb5a69
2 changed files with 4 additions and 2 deletions

View file

@ -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

View file

@ -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;