diff options
author | Simon McVittie <smcv@collabora.com> | 2021-06-23 19:01:33 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2021-06-23 19:01:51 +0100 |
commit | b6ee19a03de2630f0b60cf2be3f1e618522d8483 (patch) | |
tree | 23678e817058c857612d94d97be0694e43cf8dee | |
parent | f1aa13554e6e79f608423527c025fdd93522c570 (diff) | |
download | bubblewrap-b6ee19a03de2630f0b60cf2be3f1e618522d8483.tar.gz |
Handle all enum values in switch
This makes it clearer that we have thought about whether they need
symlinks for source resolved, and concluded that they do not.
Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r-- | bubblewrap.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/bubblewrap.c b/bubblewrap.c index 7809dd8..8532152 100644 --- a/bubblewrap.c +++ b/bubblewrap.c @@ -1425,6 +1425,19 @@ resolve_symlinks_in_ops (void) die_with_error("Can't find source path %s", old_source); } break; + + case SETUP_MOUNT_PROC: + case SETUP_MOUNT_DEV: + case SETUP_MOUNT_TMPFS: + case SETUP_MOUNT_MQUEUE: + case SETUP_MAKE_DIR: + case SETUP_MAKE_FILE: + case SETUP_MAKE_BIND_FILE: + case SETUP_MAKE_RO_BIND_FILE: + case SETUP_MAKE_SYMLINK: + case SETUP_REMOUNT_RO_NO_RECURSIVE: + case SETUP_SET_HOSTNAME: + case SETUP_CHMOD: default: break; } |