Commit 6c5106a7 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Provide a default and work around gcc

parent 30d40eac
......@@ -204,7 +204,7 @@ char *config_GetUserDir (vlc_userdir_t type)
switch (type)
{
case VLC_HOME_DIR:
return config_GetHomeDir ();
break;
case VLC_CONFIG_DIR:
return config_GetAppDir ("CONFIG", ".config");
case VLC_DATA_DIR:
......@@ -229,5 +229,5 @@ char *config_GetUserDir (vlc_userdir_t type)
case VLC_VIDEOS_DIR:
return config_GetTypeDir ("VIDEOS");
}
assert (0);
return config_GetHomeDir ();
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment