Skip to content

Commit d6a1ae5

Browse files
committed
ext/standard: Remove unreachable break after RETURN_STRING
1 parent c658d3c commit d6a1ae5

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

ext/standard/assert.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,6 @@ PHP_FUNCTION(assert_options)
285285
zend_string_release_ex(value_str, 0);
286286
}
287287
RETURN_LONG(oldint);
288-
break;
289288

290289
case PHP_ASSERT_BAIL:
291290
oldint = ASSERTG(bail);
@@ -301,7 +300,6 @@ PHP_FUNCTION(assert_options)
301300
zend_string_release_ex(value_str, 0);
302301
}
303302
RETURN_LONG(oldint);
304-
break;
305303

306304
case PHP_ASSERT_WARNING:
307305
oldint = ASSERTG(warning);
@@ -317,7 +315,6 @@ PHP_FUNCTION(assert_options)
317315
zend_string_release_ex(value_str, 0);
318316
}
319317
RETURN_LONG(oldint);
320-
break;
321318

322319
case PHP_ASSERT_CALLBACK:
323320
if (Z_TYPE(ASSERTG(callback)) != IS_UNDEF) {
@@ -352,7 +349,6 @@ PHP_FUNCTION(assert_options)
352349
zend_string_release_ex(key, 0);
353350
}
354351
RETURN_LONG(oldint);
355-
break;
356352

357353
default:
358354
zend_argument_value_error(1, "must be an ASSERT_* constant");

0 commit comments

Comments
 (0)