validate-scenario: Initialize variable correctly
authorEdward Hervey <edward@centricular.com>
Fri, 22 May 2020 16:00:04 +0000 (18:00 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 22 May 2020 16:00:04 +0000 (18:00 +0200)
commit5e2df6042265c5e0ecdda2467a8f9c83ca431ea0
treefe6c8a0440209d4b3837242118d344170620ccae
parent8697663d8ccf929a61b10996f0c9a779cb81095c
validate-scenario: Initialize variable correctly

ret needs to be always reset to FALSE *before* checking attempting to load the
individual files. Otherwise there's the possibility it would silently accept an
invalid scenario name

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/196>
validate/gst/validate/gst-validate-scenario.c