Skip to content

Fix -Wunused-but-set-global warning - #25395

Closed
arnaud-lb wants to merge 2 commits into
php:masterfrom
arnaud-lb:unused-but-set-global-2
Closed

arnaud-lb wants to merge 2 commits into
php:masterfrom
arnaud-lb:unused-but-set-global-2

Conversation

@arnaud-lb

Copy link
Copy Markdown
Member

Follow-up GH-25245

@TimWolla

Copy link
Copy Markdown
Member

I'm not sure fixing this warning is making the code better. In particular the removal of the CE variables is just adding inconsistency and additional hoops to just through when the CE should be exposed in the future (eg due to being useful in other extensions).

I would just disable that warning.

@arnaud-lb

Copy link
Copy Markdown
Member Author

Indeed. I'm fine disabling the warning instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants