mate-desktop / mate-power-manager

Power management tool for the MATE desktop
https://mate-desktop.org
GNU General Public License v2.0
59 stars 51 forks source link

Remove warnings: unused variable #316

Closed rbuj closed 4 years ago

rbuj commented 4 years ago
gpm-manager.c:952:7: warning: unused variable ‘timeout’ [-Wunused-variable]
  952 |  gint timeout;
      |       ^~~~~~~

gpm-engine.c:800:8: warning: unused variable ‘i’ [-Wunused-variable]
  800 |  guint i;
      |        ^

gpm-engine.c:799:13: warning: unused variable ‘array’ [-Wunused-variable]
  799 |  GPtrArray *array = NULL;
      |             ^~~~~

gpm-prefs.c:70:11: warning: unused variable ‘ret’ [-Wunused-variable]
   70 |  gboolean ret;
      |           ^~~

gpm-statistics.c:1212:15: warning: unused variable ‘text’ [-Wunused-variable]
 1212 |  const gchar *text;
      |               ^~~~

brightness-applet.c:979:19: warning: unused variable ‘connection’ [-Wunused-variable]
  979 |  DBusGConnection *connection;
      |                   ^~~~~~~~~~

inhibit-applet.c:461:19: warning: unused variable ‘connection’ [-Wunused-variable]
  461 |  DBusGConnection *connection;
      |                   ^~~~~~~~~~