From 234cbe2c17034c68d6dd6df09fda79a052f0a238 Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Tue, 26 Oct 2021 00:21:47 +0300 Subject: [PATCH] ICU-21805 Remove useless check --- icu4c/source/io/ustdio.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icu4c/source/io/ustdio.cpp b/icu4c/source/io/ustdio.cpp index d6eb5cf9ec9..a3cb2a5d9cb 100644 --- a/icu4c/source/io/ustdio.cpp +++ b/icu4c/source/io/ustdio.cpp @@ -628,7 +628,7 @@ ufile_getch32(UFILE *f, UChar32 *c32) /* Fill the buffer if it is empty */ str = &f->str; - if (f && str->fPos + 1 >= str->fLimit) { + if (str->fPos + 1 >= str->fLimit) { ufile_fill_uchar_buffer(f); }