aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/tests/tests.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-05-08 11:35:57 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-05-08 11:35:57 +0200
commit72b9d971bc4ff5b5dcb9349d03526a5ef3e4300e (patch)
tree9e51638c765495c5ee8ccfe3583c237d31884868 /src/libutil/tests/tests.cc
parent7cc7cef9502dc388706561cbdf275e070520e65d (diff)
Fix warning
Diffstat (limited to 'src/libutil/tests/tests.cc')
-rw-r--r--src/libutil/tests/tests.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/libutil/tests/tests.cc b/src/libutil/tests/tests.cc
index fb593b5e6..0fb4411e8 100644
--- a/src/libutil/tests/tests.cc
+++ b/src/libutil/tests/tests.cc
@@ -481,8 +481,7 @@ namespace nix {
* --------------------------------------------------------------------------*/
TEST(tokenizeString, empty) {
- auto s = "";
- Strings expected = { };
+ Strings expected = { };
ASSERT_EQ(tokenizeString<Strings>(""), expected);
}