Kaydet (Commit) 1a104006 authored tarafından Andrew M. Kuchling's avatar Andrew M. Kuchling

Removed unused variables.

Added two functions that were left out of the method definition table.
üst 29fa30ea
...@@ -1643,7 +1643,6 @@ PyCurses_UngetMouse(self,args) ...@@ -1643,7 +1643,6 @@ PyCurses_UngetMouse(self,args)
PyObject *self; PyObject *self;
PyObject *args; PyObject *args;
{ {
int rtn;
MEVENT event; MEVENT event;
PyCursesInitialised PyCursesInitialised
...@@ -1947,7 +1946,7 @@ PyCurses_MouseMask(self,arg) ...@@ -1947,7 +1946,7 @@ PyCurses_MouseMask(self,arg)
PyObject * self; PyObject * self;
PyObject * arg; PyObject * arg;
{ {
int newmask, rtn; int newmask;
mmask_t oldmask, availmask; mmask_t oldmask, availmask;
PyCursesInitialised PyCursesInitialised
...@@ -2159,7 +2158,7 @@ PyCurses_TypeAhead(self,arg) ...@@ -2159,7 +2158,7 @@ PyCurses_TypeAhead(self,arg)
PyObject * self; PyObject * self;
PyObject * arg; PyObject * arg;
{ {
int fd, err; int fd;
PyCursesInitialised PyCursesInitialised
...@@ -2302,6 +2301,8 @@ static PyMethodDef PyCurses_methods[] = { ...@@ -2302,6 +2301,8 @@ static PyMethodDef PyCurses_methods[] = {
{"raw", (PyCFunction)PyCurses_raw}, {"raw", (PyCFunction)PyCurses_raw},
{"reset_prog_mode", (PyCFunction)PyCurses_reset_prog_mode}, {"reset_prog_mode", (PyCFunction)PyCurses_reset_prog_mode},
{"reset_shell_mode", (PyCFunction)PyCurses_reset_shell_mode}, {"reset_shell_mode", (PyCFunction)PyCurses_reset_shell_mode},
{"resetty", (PyCFunction)PyCurses_resetty},
{"savetty", (PyCFunction)PyCurses_savetty},
{"setsyx", (PyCFunction)PyCurses_setsyx}, {"setsyx", (PyCFunction)PyCurses_setsyx},
{"start_color", (PyCFunction)PyCurses_Start_Color}, {"start_color", (PyCFunction)PyCurses_Start_Color},
{"termattrs", (PyCFunction)PyCurses_termattrs}, {"termattrs", (PyCFunction)PyCurses_termattrs},
......
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