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:
Ignacio Casal Quinteiro 2019-01-24 11:31:38 +01:00
parent 3fe6f2a44f
commit 57c779dab4

View File

@ -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
} }