tests: fix compiler warnings on Windows with mingw
authorVictor Toso <me@victortoso.com>
Thu, 17 Jan 2019 14:25:58 +0000 (15:25 +0100)
committerVictor Toso <me@victortoso.com>
Tue, 19 Feb 2019 09:54:52 +0000 (09:54 +0000)
commitc7fe0ed637f94077f4ff8f78d404fb0d741024d6
treee19fad3dc4d6bf6c62f5ca3ea686b4aab8c6d54c
parent4bc906e87ebe13d186dbd834779d2028ca306764
tests: fix compiler warnings on Windows with mingw

With commit 3f184c3abc55, the gst_dir variable becomes unusable in
windows build. Moving it to linux scope to avoid warning:

    [433/673] Compiling C object 'tests/check/7d01337@@libs_profile@exe/libs_profile.c.obj'.
    ../tests/check/libs/profile.c: In function 'profile_suite':
    ../tests/check/libs/profile.c:688:10: warning: unused variable 'gst_dir' [-Wunused-variable]
       gchar *gst_dir;
             ^~~~~~~

Also fix a typo in the comment.
tests/check/libs/profile.c