From 013f45286473ba57e8383bd39b92961479543dbf Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 2 Jul 2018 23:18:00 +0100 Subject: [PATCH] libDtSearch: Coverity 86816 --- cde/lib/DtSearch/raima/keyfcns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- 2.25.1