projects
/
oweals
/
cde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c96a2cf
)
libDtSearch: Coverity 86816
author
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 22:18:00 +0000
(23:18 +0100)
committer
Peter Howkins
<flibble@users.sf.net>
Mon, 2 Jul 2018 22:18:00 +0000
(23:18 +0100)
cde/lib/DtSearch/raima/keyfcns.c
patch
|
blob
|
history
diff --git
a/cde/lib/DtSearch/raima/keyfcns.c
b/cde/lib/DtSearch/raima/keyfcns.c
index 473da2eab075455d3e6b8d210754385dae708964..9e0257f9a965ca59bb08b66721b5745a411c1801 100644
(file)
--- a/
cde/lib/DtSearch/raima/keyfcns.c
+++ b/
cde/lib/DtSearch/raima/keyfcns.c
@@
-576,7
+576,7
@@
DB_ADDR *dba /* to get dba of first or last key */
{
F_ADDR pg; /* node number */
NODE *node; /* pointer to node contents in cache */
- int cmp
;
/* keycmp result */
+ int cmp
= 0;
/* keycmp result */
int match_lvl; /* lowest level containing matched key */
int lvl; /* node_path level variable */
int slot; /* slot position in node */