Coverity #1247336, #1247343 fixed 76/18376/4
Dhruv Khattar [Sun, 17 Jul 2016 20:02:25 +0000 (01:02 +0530)]
Change-Id: Ia86a5924734327d7ace7d9e3bc76c7086803dac5

scilab/modules/graphic_objects/src/cpp/Plot3DDecomposer.cpp

index f1ceae4..1f221da 100644 (file)
@@ -384,8 +384,10 @@ int Plot3DDecomposer::fillWireIndices(int id, int* buffer, int bufferLength, int
             im1VerticalEdgeZValid = iVerticalEdgeZValid;
             iVerticalEdgeZValid = ip1VerticalEdgeZValid;
 
+#if PER_VERTEX_VALUES
             ij = ip1j;
             ijp1 = ip1jp1;
+#endif
         }
 
         /* Rightmost vertical line */