Skip to content

Fix unused variable in phpdbg_cmd.c#12575

Merged
ndossche merged 1 commit into
php:masterfrom
mvorisek:fix_unused_phpdbg_sapi_var
Oct 31, 2023
Merged

Fix unused variable in phpdbg_cmd.c#12575
ndossche merged 1 commit into
php:masterfrom
mvorisek:fix_unused_phpdbg_sapi_var

Conversation

@mvorisek

@mvorisek mvorisek commented Oct 30, 2023

Copy link
Copy Markdown
Contributor
/usr/src/php/sapi/phpdbg/phpdbg_cmd.c:743:14: warning: unused variable 'buf' [-Wunused-variable]
  743 |         char buf[PHPDBG_MAX_CMD];
      |              ^~~

@mvorisek

Copy link
Copy Markdown
Contributor Author

Am I right this fix should target master only?

@ndossche ndossche left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!
And yes, targeting master is right as this is a warning fix not a bugfix.

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