diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-08-11 22:04:22 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-08-11 22:04:25 +0200 |
commit | e364ad0628b5930a671ae5be863b960f4bd748a8 (patch) | |
tree | 1427ac128d3530f696e49b6f5e482488399c9b6e /src/namespace.c | |
parent | manager: serialize/deserialize startup time, too (diff) | |
download | systemd-e364ad0628b5930a671ae5be863b960f4bd748a8.tar.xz systemd-e364ad0628b5930a671ae5be863b960f4bd748a8.zip |
clang: fix numerous little issues found with clang-analyzer
Diffstat (limited to 'src/namespace.c')
-rw-r--r-- | src/namespace.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/namespace.c b/src/namespace.c index 09bcaff968..9e964c5b8f 100644 --- a/src/namespace.c +++ b/src/namespace.c @@ -151,6 +151,9 @@ static int apply_mount(Path *p, const char *root_dir, const char *inaccessible_d case PRIVATE: what = private_dir; break; + + default: + assert_not_reached("Unknown mode"); } if ((r = mount(what, where, NULL, MS_BIND|MS_REC, NULL)) >= 0) { |