diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-05-08 11:35:57 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-05-08 11:35:57 +0200 |
commit | 72b9d971bc4ff5b5dcb9349d03526a5ef3e4300e (patch) | |
tree | 9e51638c765495c5ee8ccfe3583c237d31884868 /src/libutil/tests/tests.cc | |
parent | 7cc7cef9502dc388706561cbdf275e070520e65d (diff) |
Fix warning
Diffstat (limited to 'src/libutil/tests/tests.cc')
-rw-r--r-- | src/libutil/tests/tests.cc | 3 |
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); } |