diff options
author | Monsta <[email protected]> | 2014-11-28 19:09:32 +0300 |
---|---|---|
committer | infirit <[email protected]> | 2014-11-30 22:12:27 +0100 |
commit | aa5d7267ff72af5ed760a543f3885cdd078b6a2d (patch) | |
tree | 830cdce4bf86e4883f22b27af473970a192b7f79 /capplets/display/xrandr-capplet.c | |
parent | fe41c5d64b004485adbe2899a8df68038d278309 (diff) | |
download | mate-control-center-aa5d7267ff72af5ed760a543f3885cdd078b6a2d.tar.bz2 mate-control-center-aa5d7267ff72af5ed760a543f3885cdd078b6a2d.tar.xz |
removed unused var which also caused memleak
Diffstat (limited to 'capplets/display/xrandr-capplet.c')
-rw-r--r-- | capplets/display/xrandr-capplet.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/capplets/display/xrandr-capplet.c b/capplets/display/xrandr-capplet.c index c3a1643f..5baa6378 100644 --- a/capplets/display/xrandr-capplet.c +++ b/capplets/display/xrandr-capplet.c @@ -357,7 +357,6 @@ make_rate_string (int hz) static void rebuild_rate_combo (App *app) { - GHashTable *rates; MateRRMode **modes; int best; int i; @@ -371,9 +370,6 @@ rebuild_rate_combo (App *app) || !(modes = get_current_modes (app))) return; - rates = g_hash_table_new_full ( - g_str_hash, g_str_equal, (GFreeFunc) g_free, NULL); - best = -1; for (i = 0; modes[i] != NULL; ++i) { |