mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-07-16 07:03:34 +02:00
gdir: shutup a warning when building with msvc
This way we avoid the warning: warning C4716: 'g_dir_new_from_dirp': must return a value
This commit is contained in:
@ -189,6 +189,8 @@ g_dir_new_from_dirp (gpointer dirp)
|
|||||||
return dir;
|
return dir;
|
||||||
#else
|
#else
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
|
|
||||||
|
return NULL;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user