]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove cc_log from get_home_directory()
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>
Sun, 28 Feb 2010 08:35:18 +0000 (09:35 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 28 Feb 2010 13:55:55 +0000 (14:55 +0100)
It's effectively a noop because 'cache_logfile' is NULL at this point of time, so we simply return immediately

util.c

diff --git a/util.c b/util.c
index bf296c9c305c5fb68372cc3a38a108fe151ec1b1..d2547dc1298e956fa5331de97d4c87083d219c87 100644 (file)
--- a/util.c
+++ b/util.c
@@ -693,7 +693,6 @@ const char *get_home_directory(void)
                }
        }
 #endif
-       cc_log("Unable to determine home directory");
        return NULL;
 }