From 36b8a6900974d4614626e72c63038f7a4aa991c5 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Fri, 17 Jan 2025 11:45:58 +0100 Subject: [PATCH] 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`). --- ext/mbstring/mbstring.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/mbstring/mbstring.c b/ext/mbstring/mbstring.c index a6a4d02f50ac1..f1edfe5536df8 100644 --- a/ext/mbstring/mbstring.c +++ b/ext/mbstring/mbstring.c @@ -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 */