1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Files
archived-php-src/sapi/phpdbg
Christoph M. Becker 92c4b06513 Use ZEND_UNREACHABLE() instead of ZEND_ASSERT(0)
Instead of marking unreachable code with `ZEND_ASSERT(0)`, we introduce
`ZEND_UNREACHABLE()`, so that MSVC which does not consider `assert(0)`
to mark unreachable code does no longer trigger C4715[1] warnings in
debug builds.  This may be useful for other compilers as well.

[1] <https://docs.microsoft.com/de-de/cpp/error-messages/compiler-warnings/compiler-warning-level-1-c4715?view=vs-2019>
2020-06-16 18:39:09 +02:00
..
2020-06-03 14:50:35 +02:00
2020-02-03 13:42:08 +01:00
2020-05-14 13:35:12 +02:00
2020-06-08 10:38:45 +02:00
2020-06-08 10:38:45 +02:00
2019-11-08 15:15:48 +01:00
2020-06-02 15:19:32 +02:00
2020-05-26 17:46:56 +02:00
2020-06-08 10:38:45 +02:00
2020-05-14 13:35:12 +02:00
2020-02-03 13:41:31 +01:00
2019-10-19 19:19:28 +02:00