projects
/
platform
/
upstream
/
libxkbcommon.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
14686cd
)
expr: paper over a maybe-uninitialized warning
author
Ran Benita
<ran234@gmail.com>
Fri, 8 Sep 2017 09:16:13 +0000
(12:16 +0300)
committer
Ran Benita
<ran234@gmail.com>
Fri, 8 Sep 2017 09:16:13 +0000
(12:16 +0300)
Signed-off-by: Ran Benita <ran234@gmail.com>
src/xkbcomp/expr.c
patch
|
blob
|
history
diff --git
a/src/xkbcomp/expr.c
b/src/xkbcomp/expr.c
index
8b15c1c
..
3ff3c18
100644
(file)
--- a/
src/xkbcomp/expr.c
+++ b/
src/xkbcomp/expr.c
@@
-510,8
+510,8
@@
ExprResolveMaskLookup(struct xkb_context *ctx, const ExprDef *expr,
unsigned int *val_rtrn, IdentLookupFunc lookup,
const void *lookupPriv)
{
- bool ok =
0
;
- unsigned int l
, r
;
+ bool ok =
false
;
+ unsigned int l
= 0, r = 0
;
int v;
ExprDef *left, *right;
const char *bogus = NULL;