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 *
PyCurses_GetWin(PyCursesWindowObject *self, PyObject *temp)
{
#if 0
WINDOW *win;
#endif
PyCursesInitialised

View File

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