mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Use EMPTY_SWITCH_DEFAULT_CASE in php_unicode.c
Avoids a potentially uninitialized variable warning.
This commit is contained in:
parent
0f777c768c
commit
8e8d129d7f
@ -371,9 +371,7 @@ static int convert_case_filter(int c, void *void_data)
|
||||
}
|
||||
break;
|
||||
}
|
||||
default:
|
||||
assert(0);
|
||||
break;
|
||||
EMPTY_SWITCH_DEFAULT_CASE()
|
||||
}
|
||||
|
||||
for (i = 0; i < len; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user