From: Peter Hutterer Date: Fri, 10 Jul 2020 05:13:38 +0000 (+1000) Subject: xkbcomp: return NULL, not false in place of a FILE* X-Git-Tag: xkbcommon-1.0.0~55 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcb6c7b8a416050c62efa39e7701f137c8a53b49;p=platform%2Fupstream%2Flibxkbcommon.git xkbcomp: return NULL, not false in place of a FILE* Signed-off-by: Peter Hutterer --- diff --git a/src/xkbcomp/include.c b/src/xkbcomp/include.c index 556b438..cf90384 100644 --- a/src/xkbcomp/include.c +++ b/src/xkbcomp/include.c @@ -267,7 +267,7 @@ ProcessIncludeFile(struct xkb_context *ctx, IncludeStmt *stmt, file = FindFileInXkbPath(ctx, stmt->file, file_type, NULL); if (!file) - return false; + return NULL; xkb_file = XkbParseFile(ctx, file, stmt->file, stmt->map); fclose(file);