Removed unnecessary increment and decrement from ZFPDecode

These extra operations caused the pointer to go out of bound and
then back in, but some compilers (gcc 9) would detect and warn
that the pointer had gone out of bounds.
This commit is contained in:
Robert Maynard 2020-01-01 10:08:35 -05:00
parent f9860b847e
commit 870bd1d170

@ -66,7 +66,6 @@ VTKM_EXEC static void inv_lift(Int* p)
z = *p;
p += s;
w = *p;
p += s;
/*
** non-orthogonal transform
@ -90,7 +89,6 @@ VTKM_EXEC static void inv_lift(Int* p)
x <<= 1;
x -= w;
p -= s;
*p = w;
p -= s;
*p = z;