From 0c38083fb53da533ca402e7a6e2ff788d4609706 Mon Sep 17 00:00:00 2001 From: Joel Rosdahl Date: Sun, 25 Apr 2010 16:43:33 +0200 Subject: [PATCH] Don't log unset base directory --- ccache.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ccache.c b/ccache.c index 2d4391a35..8a43519a7 100644 --- a/ccache.c +++ b/ccache.c @@ -1546,7 +1546,9 @@ static void ccache(int argc, char *argv[]) cc_log("=== %s ===", now); - cc_log("Base directory: %s", base_dir); + if (base_dir) { + cc_log("Base directory: %s", base_dir); + } /* find the real compiler */ find_compiler(argc, argv); -- 2.47.2