Skip to content

Commit d527a00

Browse files
committed
Revert "Suppress duplicated-branches compiler warning in mbfilter"
This reverts commit 6b3757e760342f63e80eff9d228d4860fd7a0389.
1 parent ec55c80 commit d527a00

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/mbstring/libmbfl/mbfl/mbfilter.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1893,17 +1893,13 @@ mime_header_encoder_new(
18931893
return NULL;
18941894
}
18951895

1896-
/* Value of the constants are identical */
1897-
#pragma GCC diagnostic push
1898-
#pragma GCC diagnostic ignored "-Wduplicated-branches"
18991896
if (transenc->no_encoding == mbfl_no_encoding_qprint) {
19001897
pe->encod_filter->status |= MBFL_QPRINT_STS_MIME_HEADER;
19011898
pe->encod_filter_backup->status |= MBFL_QPRINT_STS_MIME_HEADER;
19021899
} else {
19031900
pe->encod_filter->status |= MBFL_BASE64_STS_MIME_HEADER;
19041901
pe->encod_filter_backup->status |= MBFL_BASE64_STS_MIME_HEADER;
19051902
}
1906-
#pragma GCC diagnostic pop
19071903

19081904
return pe;
19091905
}

0 commit comments

Comments
 (0)