Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 6374bb5

Browse files
committed
Shut up compiler warnings.
1 parent fa33163 commit 6374bb5

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

Modules/_cursesmodule.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1745,7 +1745,9 @@ PyCurses_UngetMouse(PyObject *self, PyObject *args)
17451745
static PyObject *
17461746
PyCurses_GetWin(PyCursesWindowObject *self, PyObject *temp)
17471747
{
1748+
#if 0
17481749
WINDOW *win;
1750+
#endif
17491751

17501752
PyCursesInitialised
17511753

Modules/_sqlite/cursor.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636

3737
PyObject* pysqlite_cursor_iternext(pysqlite_Cursor* self);
3838

39-
static pysqlite_StatementKind detect_statement_type(char* statement)
39+
static pysqlite_StatementKind detect_statement_type(const char* statement)
4040
{
4141
char buf[20];
42-
char* src;
42+
const char* src;
4343
char* dst;
4444

4545
src = statement;

0 commit comments

Comments
 (0)