Commit 32504ae9 authored by Florian Müllner's avatar Florian Müllner Committed by Georges Basile Stavracas Neto

meta-monitor: Remove useless variable

Since commit f76b3edf, the variable is never set to TRUE and
we can simply remove it.

!475
parent 80ceeb28
Pipeline #67389 passed with stages
in 3 minutes and 54 seconds
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment