Use EMPTY_SWITCH_DEFAULT_CASE in php_unicode.c

Avoids a potentially uninitialized variable warning.
This commit is contained in:
Nikita Popov 2019-04-12 10:26:11 +02:00
parent 0f777c768c
commit 8e8d129d7f

View File

@ -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++) {