Skip to content

Commit

Permalink
Remove redundancy
Browse files Browse the repository at this point in the history
  • Loading branch information
neurolabusc committed Jul 29, 2021
1 parent f1ef09f commit 2554af6
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions console/nii_dicom.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7036,12 +7036,6 @@ struct TDICOMdata readDICOMx(char *fname, struct TDCMprefs *prefs, struct TDTI4D
printWarning("Philips instance number (%d) does not make sense: slice %d of %d, volume %d\n", d.imageNum, sliceNumberMrPhilips, locationsInAcquisitionPhilips, volumeNumberMrPhilips);
d.imageNum = instanceNum;
}
if ((numDimensionIndexValues == 0) && (sliceNumberMrPhilips > 0) && (volumeNumberMrPhilips > 0) && (locationsInAcquisitionPhilips > 0)) {//issue529
int instanceNum = ((volumeNumberMrPhilips-1) * locationsInAcquisitionPhilips) + sliceNumberMrPhilips;
if ((d.imageNum != instanceNum) && (isVerbose))
printWarning("Philips instance number (%d) does not make sense: slice %d of %d, volume %d\n", d.imageNum, sliceNumberMrPhilips, locationsInAcquisitionPhilips, volumeNumberMrPhilips);
d.imageNum = instanceNum;
}
if ((numberOfFrames > 1) && (numDimensionIndexValues == 0) && (numberOfFrames == nSliceMM)) { //issue 372
fidx *objects = (fidx *)malloc(sizeof(struct fidx) * numberOfFrames);
for (int i = 0; i < numberOfFrames; i++) {
Expand Down

0 comments on commit 2554af6

Please sign in to comment.