From c96a2cfa511e015efceb308ceed0a502be2db99c Mon Sep 17 00:00:00 2001 From: Peter Howkins Date: Mon, 2 Jul 2018 23:15:57 +0100 Subject: [PATCH] libDtSearch: Coverity 87018 --- cde/lib/DtSearch/raima/libfcns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cde/lib/DtSearch/raima/libfcns.c b/cde/lib/DtSearch/raima/libfcns.c index fa4296c1..6f2d5e02 100644 --- a/cde/lib/DtSearch/raima/libfcns.c +++ b/cde/lib/DtSearch/raima/libfcns.c @@ -164,7 +164,7 @@ const char *f2 /* pointer to field 2 */ */ { int kt_lc; /* loop control */ - int i, k, elt, result, len, cur_len, sub_len, entries; + int i, k, elt, result = 0, len, cur_len, sub_len, entries; #ifdef DS int ui1, ui2; long ul1, ul2; -- 2.25.1