about summary refs log tree commit diff
path: root/third_party/nix/src/nix-store/graphml.cc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/nix-store/graphml.cc')
-rw-r--r--third_party/nix/src/nix-store/graphml.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/third_party/nix/src/nix-store/graphml.cc b/third_party/nix/src/nix-store/graphml.cc
index a48b19bf9636..07116cda930a 100644
--- a/third_party/nix/src/nix-store/graphml.cc
+++ b/third_party/nix/src/nix-store/graphml.cc
@@ -58,7 +58,9 @@ void printGraphML(ref<Store> store, const PathSet& roots) {
     workList.erase(path);
 
     ret = doneSet.insert(path);
-    if (ret.second == false) continue;
+    if (ret.second == false) {
+      continue;
+    }
 
     ValidPathInfo info = *(store->queryPathInfo(path));
     cout << makeNode(info);