From 03427e76f11fe1d918020d28bdb69b2fb348ee96 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 4 Aug 2008 11:44:50 +0000 Subject: * querySubstitutablePathInfo: work properly when run via the daemon. * --dry-run: print the paths that we don't know how to build/substitute. --- src/libmain/shared.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/libmain/shared.cc') diff --git a/src/libmain/shared.cc b/src/libmain/shared.cc index 36b4ebdc9c7a..5a8f600e8d36 100644 --- a/src/libmain/shared.cc +++ b/src/libmain/shared.cc @@ -217,7 +217,7 @@ static void initAndRun(int argc, char * * argv) /* Automatically clean up the temporary roots file when we exit. */ - RemoveTempRoots removeTempRoots; /* unused variable - don't remove */ + RemoveTempRoots removeTempRoots __attribute__((unused)); /* Make sure that the database gets closed properly, even if terminate() is called (which happens sometimes due to bugs in -- cgit 1.4.1