libDtSearch: Coverity 87018
authorPeter Howkins <flibble@users.sf.net>
Mon, 2 Jul 2018 22:15:57 +0000 (23:15 +0100)
committerPeter Howkins <flibble@users.sf.net>
Mon, 2 Jul 2018 22:15:57 +0000 (23:15 +0100)
cde/lib/DtSearch/raima/libfcns.c

index fa4296c18cb0b8de9339e315b4a2aa0e3df12a7f..6f2d5e02018026a61b91291c677eb757f6116b41 100644 (file)
@@ -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;