diff options
Diffstat (limited to 'vchat-ui.c')
-rwxr-xr-x | vchat-ui.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -112,7 +112,7 @@ static int currentstamp = 0; | |||
112 | 112 | ||
113 | static void resize (int); | 113 | static void resize (int); |
114 | static void forceredraw (void); | 114 | static void forceredraw (void); |
115 | static void forceredraw_wrapper (int a) {forceredraw();} | 115 | static void forceredraw_wrapper (int a) {(void)a; forceredraw();} |
116 | static void drawwin (WINDOW *win, struct sb_data *sb); | 116 | static void drawwin (WINDOW *win, struct sb_data *sb); |
117 | static int writescr (WINDOW *win, struct sb_entry *entry); | 117 | static int writescr (WINDOW *win, struct sb_entry *entry); |
118 | static int testfilter ( struct sb_entry *entry); | 118 | static int testfilter ( struct sb_entry *entry); |
@@ -760,6 +760,7 @@ void | |||
760 | resize (int signal) | 760 | resize (int signal) |
761 | { | 761 | { |
762 | int xsize,ysize,topicheight=topic?1:0; | 762 | int xsize,ysize,topicheight=topic?1:0; |
763 | (void)signal; | ||
763 | 764 | ||
764 | ttgtsz(&xsize,&ysize); | 765 | ttgtsz(&xsize,&ysize); |
765 | resizeterm(ysize,xsize); | 766 | resizeterm(ysize,xsize); |
@@ -1383,6 +1384,8 @@ passprompt (char *buf, int size, int rwflag, void *userdata) | |||
1383 | { | 1384 | { |
1384 | int i; | 1385 | int i; |
1385 | char *passphrase = NULL; | 1386 | char *passphrase = NULL; |
1387 | (void)rwflag; | ||
1388 | (void)userdata; | ||
1386 | 1389 | ||
1387 | /* use special non-revealing redraw function */ | 1390 | /* use special non-revealing redraw function */ |
1388 | /* FIXME: passphrase isn't protected against e.g. swapping */ | 1391 | /* FIXME: passphrase isn't protected against e.g. swapping */ |
@@ -1476,6 +1479,7 @@ removefromfilterlist( int(*test)(filt *flt, void *data, char colour), void *data | |||
1476 | 1479 | ||
1477 | static int | 1480 | static int |
1478 | test_clear( filt *flt, void *data, char c ) { | 1481 | test_clear( filt *flt, void *data, char c ) { |
1482 | (void)data; | ||
1479 | if( !c || ( c == flt->colour ) || ( (c == '*') && (flt->colour != '-') && (flt->colour != '+') ) ) | 1483 | if( !c || ( c == flt->colour ) || ( (c == '*') && (flt->colour != '-') && (flt->colour != '+') ) ) |
1480 | return RMFILTER_RMANDCONT; | 1484 | return RMFILTER_RMANDCONT; |
1481 | else | 1485 | else |