mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 19:36:18 +01:00
gtester: fix -Wduplicated-branches
One of the “quick” or “slow” test run modes is always added to the argument list, making the branching pointless, which, coincidentally, now causes a warning. https://bugzilla.gnome.org/show_bug.cgi?id=793399
This commit is contained in:
parent
f84ce12989
commit
c97922c104
@ -322,9 +322,7 @@ launch_test_binary (const char *binary,
|
||||
argc++;
|
||||
if (!subtest_mode_fatal)
|
||||
argc++;
|
||||
if (subtest_mode_quick)
|
||||
argc++;
|
||||
else
|
||||
/* Either -m=quick or -m=slow is always appended. */
|
||||
argc++;
|
||||
if (subtest_mode_perf)
|
||||
argc++;
|
||||
|
Loading…
Reference in New Issue
Block a user