diff options
author | Robert Hensing <robert@roberthensing.nl> | 2023-04-03 18:03:20 +0200 |
---|---|---|
committer | Robert Hensing <robert@roberthensing.nl> | 2023-04-03 18:17:32 +0200 |
commit | 3dac4c7874b876dc28d522aa4eddd8b4deb64378 (patch) | |
tree | 6d12fc14e4e6cf245d55920f712c1a19a031d878 /src/libcmd | |
parent | ed7885017c25940f571dc58e94ca47fa84780f9d (diff) |
Add explicit case statements where -Wswitch-enum would report them
Diffstat (limited to 'src/libcmd')
-rw-r--r-- | src/libcmd/repl.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libcmd/repl.cc b/src/libcmd/repl.cc index e3afb1531..e75ac2cf4 100644 --- a/src/libcmd/repl.cc +++ b/src/libcmd/repl.cc @@ -1024,6 +1024,8 @@ std::ostream & NixRepl::printValue(std::ostream & str, Value & v, unsigned int m str << v.fpoint; break; + case nThunk: + case nExternal: default: str << ANSI_RED "«unknown»" ANSI_NORMAL; break; |