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

Skip to content

Commit 6a078ed

Browse files
author
Moshe Zadka
committed
Removing warnings discovered by gcc -Wall
1 parent cf703f0 commit 6a078ed

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

Modules/audioop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ static int ulaw_table[256] = {
8787
120, 112, 104, 96, 88, 80, 72, 64,
8888
56, 48, 40, 32, 24, 16, 8, 0 };
8989

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

Modules/tkappinit.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,24 @@
1818
int
1919
Tcl_AppInit(Tcl_Interp *interp)
2020
{
21-
Tk_Window main;
21+
Tk_Window main_window;
2222

2323
if (Tcl_Init (interp) == TCL_ERROR)
2424
return TCL_ERROR;
2525
if (Tk_Init (interp) == TCL_ERROR)
2626
return TCL_ERROR;
2727

28-
main = Tk_MainWindow(interp);
28+
main_window = Tk_MainWindow(interp);
2929

3030
#ifdef WITH_MOREBUTTONS
3131
{
3232
extern Tcl_CmdProc studButtonCmd;
3333
extern Tcl_CmdProc triButtonCmd;
3434

3535
Tcl_CreateCommand(interp, "studbutton", studButtonCmd,
36-
(ClientData) main, NULL);
36+
(ClientData) main_window, NULL);
3737
Tcl_CreateCommand(interp, "tributton", triButtonCmd,
38-
(ClientData) main, NULL);
38+
(ClientData) main_window, NULL);
3939
}
4040
#endif
4141

0 commit comments

Comments
 (0)