changeset 26351:f6473e416fa2 stable

find.cc: Fix static analyzer detected issues (bug #55347). * find.cc (find_nonzero_elem_idx): Eliminate unnecessary, duplicate assignment to count variable.
author Rik <rik@octave.org>
date Tue, 01 Jan 2019 20:47:53 -0800
parents 86b7dec68d09
children 8020c9ba82fc
files libinterp/corefcn/find.cc
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libinterp/corefcn/find.cc	Tue Jan 01 20:25:54 2019 -0800
+++ b/libinterp/corefcn/find.cc	Tue Jan 01 20:47:53 2019 -0800
@@ -105,7 +105,6 @@
       start_nc = 0;
       end_nc = nc;
       n_to_find = nz;
-      count = nz;
     }
   else if (direction > 0)
     {