Remove unused variable
This commit is contained in:
parent
d2fc6d554c
commit
65fa7302bb
|
@ -387,8 +387,6 @@ static void _wpa_set_status(WPA * wpa, gboolean connected, gboolean associated,
|
||||||
char const * network)
|
char const * network)
|
||||||
{
|
{
|
||||||
GtkIconSize iconsize;
|
GtkIconSize iconsize;
|
||||||
char const * stock = connected
|
|
||||||
? GTK_STOCK_CONNECT : GTK_STOCK_DISCONNECT;
|
|
||||||
char const * icon;
|
char const * icon;
|
||||||
gint size = 16;
|
gint size = 16;
|
||||||
GdkPixbuf * pixbuf = NULL;
|
GdkPixbuf * pixbuf = NULL;
|
||||||
|
@ -405,7 +403,6 @@ static void _wpa_set_status(WPA * wpa, gboolean connected, gboolean associated,
|
||||||
if(connected == FALSE && network == NULL)
|
if(connected == FALSE && network == NULL)
|
||||||
{
|
{
|
||||||
/* an error occurred */
|
/* an error occurred */
|
||||||
stock = GTK_STOCK_DIALOG_ERROR;
|
|
||||||
icon = "network-error";
|
icon = "network-error";
|
||||||
network = _("Error");
|
network = _("Error");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user