From: Eric Biggers Date: Tue, 5 Aug 2014 02:02:14 +0000 (-0500) Subject: capture_common.c: Add missing breaks in switch stmt in do_capture_progress() X-Git-Tag: v1.7.1~10 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=0436be80bd6eea1e80d921d362ae546f17879e40 capture_common.c: Add missing breaks in switch stmt in do_capture_progress() No effect because EXCLUDE_VERBOSE is set whenever VERBOSE is, but these should be there. --- diff --git a/src/capture_common.c b/src/capture_common.c index ececd29a..def3a13f 100644 --- a/src/capture_common.c +++ b/src/capture_common.c @@ -59,12 +59,14 @@ do_capture_progress(struct add_image_params *params, int status, case WIMLIB_SCAN_DENTRY_OK: if (!(params->add_flags & WIMLIB_ADD_FLAG_VERBOSE)) return 0; + break; case WIMLIB_SCAN_DENTRY_UNSUPPORTED: case WIMLIB_SCAN_DENTRY_EXCLUDED: case WIMLIB_SCAN_DENTRY_FIXED_SYMLINK: case WIMLIB_SCAN_DENTRY_NOT_FIXED_SYMLINK: if (!(params->add_flags & WIMLIB_ADD_FLAG_EXCLUDE_VERBOSE)) return 0; + break; } params->progress.scan.status = status; if (status == WIMLIB_SCAN_DENTRY_OK && inode->i_nlink == 1) {