mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
Silence a compiler warning
Even though we are confident the filename will always end in .gmarkup, the compiler doesn't know that...
This commit is contained in:
parent
6ac8e6108c
commit
25a797fa25
@ -216,7 +216,8 @@ get_expected_filename (const gchar *filename)
|
|||||||
|
|
||||||
f = g_strdup (filename);
|
f = g_strdup (filename);
|
||||||
p = strstr (f, ".gmarkup");
|
p = strstr (f, ".gmarkup");
|
||||||
*p = 0;
|
if (p)
|
||||||
|
*p = 0;
|
||||||
expected = g_strconcat (f, ".expected", NULL);
|
expected = g_strconcat (f, ".expected", NULL);
|
||||||
g_free (f);
|
g_free (f);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user