Commit 37893da8 authored by Sean McBride's avatar Sean McBride
Browse files

Suppress cppcheck warnings with assert

parent 3c16e52a
......@@ -21,6 +21,8 @@
#include "vtkPointData.h"
#include "vtkMedicalImageProperties.h"
#include <cassert>
vtkStandardNewMacro(vtkGESignaReader);
......@@ -451,6 +453,8 @@ static void vtkcopygenesisimage(FILE *infp, int width, int height, int compress,
if (compress == 2 || compress == 4)
{ // packed/compacked
assert(map_left);
assert(map_wide);
start=map_left[row];
end=start+map_wide[row];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment