From: Peter Howkins Date: Mon, 2 Jul 2018 22:18:00 +0000 (+0100) Subject: libDtSearch: Coverity 86816 X-Git-Tag: 2.3.0a~246 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=013f45286473ba57e8383bd39b92961479543dbf;p=oweals%2Fcde.git libDtSearch: Coverity 86816 --- diff --git a/cde/lib/DtSearch/raima/keyfcns.c b/cde/lib/DtSearch/raima/keyfcns.c index 473da2ea..9e0257f9 100644 --- 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 */