remove unnecessary null-check on parsesymbols()

`strval` here is always non-null,
because the null-check is done in earlier code.
This commit is contained in:
SHIRAKATA Kentaro
2022-06-05 16:22:21 +09:00
parent d1d0f1103c
commit d23f26077b

View File

@@ -704,7 +704,7 @@ parsesymbols(register char *opts, int which_set)
#endif
if ((g.symset[which_set].handling == H_UTF8)
|| (strval && (lowc(strval[0]) == 'u') && (strval[1] == '+'))) {
|| (lowc(strval[0]) == 'u') && (strval[1] == '+')) {
#ifdef ENHANCED_SYMBOLS
char buf[BUFSZ];