Skip to content

Commit

Permalink
Update main.go
Browse files Browse the repository at this point in the history
  • Loading branch information
suyashkumar authored Jul 2, 2023
1 parent 41d8eb5 commit 06f4cc5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmd/dicomutil/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ func main() {
}

var ds *dicom.Dataset
var err error
if *extractImagesStream {
ds, err = parseWithStreaming(f, info.Size())
if err != nil {
Expand Down Expand Up @@ -123,7 +122,7 @@ func parseWithStreaming(in io.Reader, size int64) (*dicom.Dataset, error) {
}
wg.Wait()

return &ds
return &ds, nil

}

Expand Down

0 comments on commit 06f4cc5

Please sign in to comment.