From: spaetz Date: Tue, 20 May 2008 12:21:49 +0000 (+0000) Subject: remove completely unused gethomedir check. there's always SVN history if you want... X-Git-Tag: navit-0.5.0.5194svn~4083 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1134d35f79b0c18fc3bdd05d31037c824d98fc8e;p=profile%2Fivi%2Fnavit.git remove completely unused gethomedir check. there's always SVN history if you want it back. git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@1069 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/main.c b/navit/navit/main.c index 2a10d83..93ed611 100644 --- a/navit/navit/main.c +++ b/navit/navit/main.c @@ -46,12 +46,6 @@ static gchar *get_home_directory(void) if (homedir) return homedir; homedir = getenv("HOME"); - if (!homedir) - { -// struct passwd *p; - -// p = getpwuid(getuid()); -// if (p) homedir = p->pw_dir; } if (!homedir) {