about summary refs log tree commit diff
path: root/src/test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/test.cc')
-rw-r--r--src/test.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/test.cc b/src/test.cc
index a2431273e71a..cff094e2f89d 100644
--- a/src/test.cc
+++ b/src/test.cc
@@ -13,8 +13,7 @@
 void realise(FSId id)
 {
     Nest nest(lvlDebug, format("TEST: realising %1%") % (string) id);
-    Slice slice = normaliseFState(id);
-    realiseSlice(slice);
+    realiseSlice(normaliseFState(id));
 }