mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
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:
parent
c23324013e
commit
7665a2a2e2
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user