about summary refs log tree commit diff
path: root/src/libexpr
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2018-07-05T15·33+0000
committervolth <volth@volth.com>2018-07-05T15·33+0000
commit1515c6561688b216d27c732c8df43b65909fa03e (patch)
tree2fafd2bac4e2ccd465804aff8573d4a52ab17d06 /src/libexpr
parente6bf1a79d70686ae48096f2c7227d8a363358ab4 (diff)
prim_concatMap: no need to force value
Diffstat (limited to 'src/libexpr')
-rw-r--r--src/libexpr/primops.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libexpr/primops.cc b/src/libexpr/primops.cc
index ed4c0285b301..e71e3a6d46cb 100644
--- a/src/libexpr/primops.cc
+++ b/src/libexpr/primops.cc
@@ -1659,7 +1659,6 @@ static void prim_concatMap(EvalState & state, const Pos & pos, Value * * args, V
 
     for (unsigned int n = 0; n < nrLists; ++n) {
         Value * vElem = args[1]->listElems()[n];
-        state.forceValue(*vElem);
         state.callFunction(*args[0], *vElem, lists[n], pos);
         state.forceList(lists[n], pos);
         len += lists[n].listSize();