mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
meta-monitor: Remove useless variable
Since commit f76b3edf9c
, the variable is never set to TRUE and
we can simply remove it.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/475
This commit is contained in:
parent
80ceeb2848
commit
32504ae917
@ -1587,7 +1587,6 @@ get_closest_scale_factor_for_resolution (float width,
|
||||
float scaled_w;
|
||||
float best_scale;
|
||||
int base_scaled_w;
|
||||
gboolean limit_exceeded;
|
||||
gboolean found_one;
|
||||
|
||||
best_scale = 0;
|
||||
@ -1604,7 +1603,6 @@ get_closest_scale_factor_for_resolution (float width,
|
||||
|
||||
i = 0;
|
||||
found_one = FALSE;
|
||||
limit_exceeded = FALSE;
|
||||
base_scaled_w = floorf (scaled_w);
|
||||
|
||||
do
|
||||
@ -1637,7 +1635,7 @@ get_closest_scale_factor_for_resolution (float width,
|
||||
|
||||
i++;
|
||||
}
|
||||
while (!found_one && !limit_exceeded);
|
||||
while (!found_one);
|
||||
|
||||
out:
|
||||
return best_scale;
|
||||
|
Loading…
Reference in New Issue
Block a user