diff options
Diffstat (limited to 'third_party/nix/src/libexpr/attr-path.cc')
-rw-r--r-- | third_party/nix/src/libexpr/attr-path.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/libexpr/attr-path.cc b/third_party/nix/src/libexpr/attr-path.cc index 3d4e9c1e1096..485c240e3a4a 100644 --- a/third_party/nix/src/libexpr/attr-path.cc +++ b/third_party/nix/src/libexpr/attr-path.cc @@ -15,7 +15,7 @@ static Strings parseAttrPath(const string& s) { cur.clear(); } else if (*i == '"') { ++i; - while (1) { + while (true) { if (i == s.end()) { throw Error(format("missing closing quote in selection path '%1%'") % s); |