about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2010-05-07T15·26+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2010-05-07T15·26+0000
commit1a8eb6e3ec9329ee7b61ac2345c6e1d994905813 (patch)
tree1669f56bb4037279809183a90a13ea0c61f2e5eb /src
parent83dfa898706e1faa491b3a50ea20baf60abda387 (diff)
Diffstat (limited to 'src')
-rw-r--r--src/libexpr/value-to-xml.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libexpr/value-to-xml.cc b/src/libexpr/value-to-xml.cc
index c3f352cfbd05..e751fd300fdb 100644
--- a/src/libexpr/value-to-xml.cc
+++ b/src/libexpr/value-to-xml.cc
@@ -32,8 +32,10 @@ static void showAttrs(EvalState & state, bool strict, bool location,
     Bindings & attrs, XMLWriter & doc, PathSet & context, PathSet & drvsSeen)
 {
     StringSet names;
+    
     foreach (Bindings::iterator, i, attrs)
         names.insert(i->first);
+    
     foreach (StringSet::iterator, i, names) {
         Attr & a(attrs[state.symbols.create(*i)]);