diff --git a/icu4c/source/samples/layout/GDIFontMap.cpp b/icu4c/source/samples/layout/GDIFontMap.cpp index f39509a333..480bbe0eb8 100644 --- a/icu4c/source/samples/layout/GDIFontMap.cpp +++ b/icu4c/source/samples/layout/GDIFontMap.cpp @@ -35,5 +35,5 @@ const LEFontInstance *GDIFontMap::openFont(const char *fontName, le_int16 pointS result = NULL; } - return NULL; + return result; }