]> granicus.if.org Git - icu/commitdiff
ICU-21805 Remove useless check
authorAlexander Morozov <alexandermv@gmail.com>
Mon, 25 Oct 2021 21:21:47 +0000 (00:21 +0300)
committerMarkus Scherer <markus.icu@gmail.com>
Wed, 9 Mar 2022 03:37:37 +0000 (03:37 +0000)
icu4c/source/io/ustdio.cpp

index d6eb5cf9ec9a4e15fed0c7c36451557f876b95ee..a3cb2a5d9cb5e63bead0401044a15794cb2fc87c 100644 (file)
@@ -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);
     }