diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-10-06 13:36:55 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-10-06 13:49:20 +0200 |
commit | 85c8be6286e8f5464813a8a29b0b78d892498745 (patch) | |
tree | e270b31fa13afd6e87e610f41fcffe039d4381bd /src/nix/ls.cc | |
parent | 0419cd26954d9d7c5b5ace96501b41cc81d66eed (diff) |
Remove static variable name clashes
This was useful for an experiment with building Nix as a single
compilation unit. It's not very useful otherwise but also doesn't
hurt...
Diffstat (limited to 'src/nix/ls.cc')
-rw-r--r-- | src/nix/ls.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix/ls.cc b/src/nix/ls.cc index 76c8bc9a3..baca54431 100644 --- a/src/nix/ls.cc +++ b/src/nix/ls.cc @@ -152,5 +152,5 @@ struct CmdLsNar : Command, MixLs } }; -static auto r1 = registerCommand<CmdLsStore>("ls-store"); -static auto r2 = registerCommand<CmdLsNar>("ls-nar"); +static auto rCmdLsStore = registerCommand<CmdLsStore>("ls-store"); +static auto rCmdLsNar = registerCommand<CmdLsNar>("ls-nar"); |