aboutsummaryrefslogtreecommitdiff
path: root/src/nix-store
diff options
context:
space:
mode:
authorRobert Hensing <robert@roberthensing.nl>2023-04-03 18:03:20 +0200
committerRobert Hensing <robert@roberthensing.nl>2023-04-03 18:17:32 +0200
commit3dac4c7874b876dc28d522aa4eddd8b4deb64378 (patch)
tree6d12fc14e4e6cf245d55920f712c1a19a031d878 /src/nix-store
parented7885017c25940f571dc58e94ca47fa84780f9d (diff)
Add explicit case statements where -Wswitch-enum would report them
Diffstat (limited to 'src/nix-store')
-rw-r--r--src/nix-store/nix-store.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nix-store/nix-store.cc b/src/nix-store/nix-store.cc
index a62cb874f..2d784376d 100644
--- a/src/nix-store/nix-store.cc
+++ b/src/nix-store/nix-store.cc
@@ -443,7 +443,7 @@ static void opQuery(Strings opFlags, Strings opArgs)
break;
}
- default:
+ default: case qDefault:
abort();
}
}