projects
/
platform
/
upstream
/
libxkbcommon.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix NULL after deref issue detected by static analysis tool
[platform/upstream/libxkbcommon.git]
/
src
/
xkbcomp
/
parser.y
diff --git
a/src/xkbcomp/parser.y
b/src/xkbcomp/parser.y
index
e1226b1
..
0fd663a
100644
(file)
--- a/
src/xkbcomp/parser.y
+++ b/
src/xkbcomp/parser.y
@@
-856,6
+856,7
@@
parse(struct xkb_context *ctx, struct scanner *scanner, const char *map)
if (first)
log_vrb(ctx, 5,
+ XKB_WARNING_MISSING_DEFAULT_SECTION,
"No map in include statement, but \"%s\" contains several; "
"Using first defined map, \"%s\"\n",
scanner->file_name, first->name);