mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 09:30:45 -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 scaled_w;
|
||||||
float best_scale;
|
float best_scale;
|
||||||
int base_scaled_w;
|
int base_scaled_w;
|
||||||
gboolean limit_exceeded;
|
|
||||||
gboolean found_one;
|
gboolean found_one;
|
||||||
|
|
||||||
best_scale = 0;
|
best_scale = 0;
|
||||||
@ -1604,7 +1603,6 @@ get_closest_scale_factor_for_resolution (float width,
|
|||||||
|
|
||||||
i = 0;
|
i = 0;
|
||||||
found_one = FALSE;
|
found_one = FALSE;
|
||||||
limit_exceeded = FALSE;
|
|
||||||
base_scaled_w = floorf (scaled_w);
|
base_scaled_w = floorf (scaled_w);
|
||||||
|
|
||||||
do
|
do
|
||||||
@ -1637,7 +1635,7 @@ get_closest_scale_factor_for_resolution (float width,
|
|||||||
|
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
while (!found_one && !limit_exceeded);
|
while (!found_one);
|
||||||
|
|
||||||
out:
|
out:
|
||||||
return best_scale;
|
return best_scale;
|
||||||
|
Loading…
Reference in New Issue
Block a user