[php-src] PR #12575: Fix unused variable in phpdbg_cmd.c
| From: | mvorisek | Date: | Mon, 30 Oct 2023 23:13:11 +0000 |
| Subject: | [php-src] PR #12575: Fix unused variable in phpdbg_cmd.c | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-24067@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/12575
Author: mvorisek
```
/bin/bash /usr/src/php/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc
-Isapi/phpdbg/ -I/usr/src/php/sapi/phpdbg/ -I/usr/src/php/include -I/usr/src/php/main -I/usr/src/php
-I/usr/src/php/ext/date/lib -I/usr/include/libxml2 -I/usr/include/x86_64-linux-gnu
-I/usr/src/php/ext/mbstring/libmbfl -I/usr/src/php/ext/mbstring/libmbfl/mbfl -I/usr/src/php/TSRM
-I/usr/src/php/Zend -fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -fno-common -Wstrict-prototypes -Wformat-truncation
-Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare
-fstack-protector-strong -fpic -fpie -O2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS -D_GNU_SOURCE
-DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -pthread -c /usr/src/php/sapi/phpdbg/phpdbg_cmd.c -o
sapi/phpdbg/phpdbg_cmd.lo -MMD -MF sapi/phpdbg/phpdbg_cmd.dep -MT sapi/phpdbg/phpdbg_cmd.lo
/usr/src/php/sapi/phpdbg/phpdbg_cmd.c: In function 'phpdbg_read_input':
/usr/src/php/sapi/phpdbg/phpdbg_cmd.c:743:14: warning: unused variable 'buf'
[-Wunused-variable]
743 | char buf[PHPDBG_MAX_CMD];
| ^~~
```