Skip to content

Commit 36b8a69

Browse files
authored
Drop superfluous enum forward declaration (GH-17455)
Besides that it is not needed, it is not proper C, and Clang warns that "forward references to 'enum' types are a Microsoft extension" (`-Wmicrosoft-enum-forward-reference`).
1 parent f2d8420 commit 36b8a69

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ext/mbstring/mbstring.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4469,7 +4469,6 @@ PHP_FUNCTION(mb_send_mail)
44694469
bool suppress_content_transfer_encoding = false;
44704470

44714471
char *p;
4472-
enum mbfl_no_encoding;
44734472
const mbfl_encoding *tran_cs, /* transfer text charset */
44744473
*head_enc, /* header transfer encoding */
44754474
*body_enc; /* body transfer encoding */

0 commit comments

Comments
 (0)