Skip to content

Commit

Permalink
Drop superfluous enum forward declaration (GH-17455)
Browse files Browse the repository at this point in the history
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`).
  • Loading branch information
cmb69 authored Jan 17, 2025
1 parent f2d8420 commit 36b8a69
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/mbstring/mbstring.c
Original file line number Diff line number Diff line change
Expand Up @@ -4469,7 +4469,6 @@ PHP_FUNCTION(mb_send_mail)
bool suppress_content_transfer_encoding = false;

char *p;
enum mbfl_no_encoding;
const mbfl_encoding *tran_cs, /* transfer text charset */
*head_enc, /* header transfer encoding */
*body_enc; /* body transfer encoding */
Expand Down

0 comments on commit 36b8a69

Please sign in to comment.