Skip to content

Commit

Permalink
Removing warnings discovered by gcc -Wall
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.python.org/projects/python/trunk@16649 6015fed2-1504-0410-9fe1-9d1591cc4771
  • Loading branch information
moshez committed Aug 4, 2000
1 parent 41d0330 commit 99a696b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Modules/audioop.c
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ static int ulaw_table[256] = {
120, 112, 104, 96, 88, 80, 72, 64,
56, 48, 40, 32, 24, 16, 8, 0 };

/* #define ZEROTRAP /* turn on the trap as per the MIL-STD */
/* #define ZEROTRAP */ /* turn on the trap as per the MIL-STD */
#define BIAS 0x84 /* define the add-in bias for 16 bit samples */
#define CLIP 32635

Expand Down
8 changes: 4 additions & 4 deletions Modules/tkappinit.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,24 @@
int
Tcl_AppInit(Tcl_Interp *interp)
{
Tk_Window main;
Tk_Window main_window;

if (Tcl_Init (interp) == TCL_ERROR)
return TCL_ERROR;
if (Tk_Init (interp) == TCL_ERROR)
return TCL_ERROR;

main = Tk_MainWindow(interp);
main_window = Tk_MainWindow(interp);

#ifdef WITH_MOREBUTTONS
{
extern Tcl_CmdProc studButtonCmd;
extern Tcl_CmdProc triButtonCmd;

Tcl_CreateCommand(interp, "studbutton", studButtonCmd,
(ClientData) main, NULL);
(ClientData) main_window, NULL);
Tcl_CreateCommand(interp, "tributton", triButtonCmd,
(ClientData) main, NULL);
(ClientData) main_window, NULL);
}
#endif

Expand Down

0 comments on commit 99a696b

Please sign in to comment.