mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Shut up compiler warnings.
This commit is contained in:
parent
fa331631d4
commit
6374bb5a69
2 changed files with 4 additions and 2 deletions
|
@ -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 @@
|
||||||
|
|
||||||
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;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue