about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2010-05-31T16·36+0000
committerLudovic Courtès <ludo@gnu.org>2010-05-31T16·36+0000
commitda52f8bea0620cd55e10a8ec90306fa169f2d14f (patch)
tree278e2349f20a648635e28a5ecfacef6a6d156d3f
parent7343e6c8ae6d18f38f42a0714212ca5deb957c39 (diff)
Comment out dead code in `nix-store'.
* src/nix-store/dotgraph.cc (pathLabel): Move within #if 0 section.
-rw-r--r--src/nix-store/dotgraph.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/dotgraph.cc b/src/nix-store/dotgraph.cc
index 83df9e9cd0ce..72146eb68efc 100644
--- a/src/nix-store/dotgraph.cc
+++ b/src/nix-store/dotgraph.cc
@@ -52,13 +52,13 @@ static string symbolicName(const string & path)
 }
 
 
+#if 0
 string pathLabel(const Path & nePath, const string & elemPath)
 {
     return (string) nePath + "-" + elemPath;
 }
 
 
-#if 0
 void printClosure(const Path & nePath, const StoreExpr & fs)
 {
     PathSet workList(fs.closure.roots);