diff options
author | Arnavion <arnavion@gmail.com> | 2014-12-08 21:24:59 -0800 |
---|---|---|
committer | Arnavion <arnavion@gmail.com> | 2014-12-08 21:24:59 -0800 |
commit | c1831cb19dc1a95bfe96c808aaf5ee42f7401995 (patch) | |
tree | 51186833204b4061ead7794b17e8f43d32e03596 /src/common/cfgfiles.c | |
parent | 65da34f19eab5edde0615ccc4a58be1947cfce6e (diff) |
Minor tidying up
Diffstat (limited to 'src/common/cfgfiles.c')
-rw-r--r-- | src/common/cfgfiles.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/cfgfiles.c b/src/common/cfgfiles.c index 020e3bc1..069ca70b 100644 --- a/src/common/cfgfiles.c +++ b/src/common/cfgfiles.c @@ -308,9 +308,7 @@ get_xdir (void) if (portable_mode () || SHGetKnownFolderPath (&FOLDERID_RoamingAppData, 0, NULL, &roaming_path_wide) != S_OK) { - char *path; - - path = g_win32_get_package_installation_directory_of_module (NULL); + char *path = g_win32_get_package_installation_directory_of_module (NULL); if (path) { xdir = g_build_filename (path, "config", NULL); |