Avoid a few warnings
This commit is contained in:
parent
38c5a38230
commit
e5ce5ab8f7
|
@ -584,6 +584,7 @@ static void _ask_password_on_response(GtkWidget * widget, gint response,
|
|||
char const * password;
|
||||
size_t i;
|
||||
WPAChannel * channel = &wpa->channel[0];
|
||||
(void) widget;
|
||||
|
||||
if(response != GTK_RESPONSE_OK
|
||||
|| (password = gtk_entry_get_text(GTK_ENTRY(
|
||||
|
@ -1679,6 +1680,7 @@ static char const * _read_scan_results_flag(WPA * wpa, char const * p,
|
|||
char const preauth[] = "preauth";
|
||||
char const ess[] = "ESS";
|
||||
char const ibss[] = "IBSS";
|
||||
(void) wpa;
|
||||
|
||||
/* FIXME parse more consistently */
|
||||
if(strncmp(wep, p, sizeof(wep) - 1) == 0)
|
||||
|
|
|
@ -188,6 +188,8 @@ static int _wifibrowser(char const * configfile, char const * interface)
|
|||
/* error */
|
||||
static int _error(Panel * panel, char const * message, int ret)
|
||||
{
|
||||
(void) panel;
|
||||
|
||||
fputs(PROGNAME ": ", stderr);
|
||||
perror(message);
|
||||
return ret;
|
||||
|
@ -236,6 +238,7 @@ static void _wifibrowser_on_enabled_toggled(GtkCellRenderer * renderer,
|
|||
GtkTreePath * p;
|
||||
GtkTreeIter iter;
|
||||
gboolean enabled;
|
||||
(void) renderer;
|
||||
|
||||
if((p = gtk_tree_path_new_from_string(path)) == NULL)
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user