Ticket #3420: code cleanup before 3.4.15 release.

Ticket #3424: fix -Wdeclaration-after-statement compiler warnings.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andreas Mohr 2015-03-31 20:27:07 +03:00 committed by Andrew Borodin
parent c23324013e
commit 7665a2a2e2

View File

@ -286,6 +286,9 @@ void
mc_config_init_config_paths (GError ** mcerror)
{
char *dir;
#ifndef MC_HOMEDIR_XDG
char *defined_userconf_dir;
#endif
mc_return_if_error (mcerror);
@ -345,8 +348,6 @@ mc_config_init_config_paths (GError ** mcerror)
mc_config_fix_migrated_rules ();
#else /* MC_HOMEDIR_XDG */
char *defined_userconf_dir;
defined_userconf_dir = tilde_expand (MC_USERCONF_DIR);
if (g_path_is_absolute (defined_userconf_dir))
dir = defined_userconf_dir;