Merge pull request #1914 from DennisHeimbigner/dupcode.dmh

Remove some potentially harmful duplicate code
This commit is contained in:
Ward Fisher 2020-12-18 10:08:56 -07:00 committed by GitHub
commit 5e5b8f88da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -285,9 +285,6 @@ NCZ_transfer(struct Common* common, NCZSlice* slices)
slpodom = nczodom_fromslices(common->rank,slpslices); slpodom = nczodom_fromslices(common->rank,slpslices);
memodom = nczodom_fromslices(common->rank,memslices); memodom = nczodom_fromslices(common->rank,memslices);
/* This is the key action: walk this set of slices and transfer data */
if((stat = NCZ_walk(proj,chunkodom,slpodom,memodom,common,chunkdata))) goto done;
{ /* walk with odometer, possibly optimized */ { /* walk with odometer, possibly optimized */
if(wdebug >= 1) if(wdebug >= 1)
fprintf(stderr,"case: odometer; slp.optimized=%d:\n",slpodom->properties.optimized); fprintf(stderr,"case: odometer; slp.optimized=%d:\n",slpodom->properties.optimized);