Skip to content

Commit 4e131c0

Browse files
authored
phpdbg: Remove stale check (#24055)
This is always false, see GH-24038.
1 parent 3070be2 commit 4e131c0

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎sapi/phpdbg/phpdbg_prompt.c‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1464,9 +1464,7 @@ PHPDBG_COMMAND(clear) /* {{{ */
14641464

14651465
PHPDBG_COMMAND(list) /* {{{ */
14661466
{
1467-
if (!param) {
1468-
return PHPDBG_LIST_HANDLER(lines)(PHPDBG_COMMAND_ARGS);
1469-
} else switch (param->type) {
1467+
switch (param->type) {
14701468
case NUMERIC_PARAM:
14711469
return PHPDBG_LIST_HANDLER(lines)(PHPDBG_COMMAND_ARGS);
14721470

0 commit comments

Comments
 (0)