1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

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`).
This commit is contained in:
Christoph M. Becker
2025-01-17 11:45:58 +01:00
committed by GitHub
parent f2d8420b1c
commit 36b8a69009

View File

@@ -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 */