[Gdcm-hackers] gdcm-git:Grassroots DICOM branch release updated. 60dfb291b34621f58e8fdc85373d787b04
Cross-platform DICOM implementation
Brought to you by:
malat
|
From: Mathieu M. <ma...@us...> - 2015-10-25 09:29:08
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Grassroots DICOM".
The branch, release has been updated
via 60dfb291b34621f58e8fdc85373d787b04a34779 (commit)
from 34a12ec382cda5d05f53726f4600ef960bb19b81 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceforge.net/p/gdcm/gdcm/ci/60dfb291b34621f58e8fdc85373d787b04a34779/
commit 60dfb291b34621f58e8fdc85373d787b04a34779
Author: Mathieu Malaterre <mat...@gm...>
Date: Sun Oct 25 10:28:48 2015 +0100
Remove a warning about unreachable return
diff --git a/Source/MediaStorageAndFileFormat/gdcmPixelFormat.cxx b/Source/MediaStorageAndFileFormat/gdcmPixelFormat.cxx
index 81af11c..e85e593 100644
--- a/Source/MediaStorageAndFileFormat/gdcmPixelFormat.cxx
+++ b/Source/MediaStorageAndFileFormat/gdcmPixelFormat.cxx
@@ -233,8 +233,7 @@ int64_t PixelFormat::GetMin() const
}
}
// else
- throw "PixelFormat bad representation";
- return 0;
+ gdcmAssertAlwaysMacro( 0 ); // throw "PixelFormat bad representation";
}
int64_t PixelFormat::GetMax() const
@@ -252,8 +251,7 @@ int64_t PixelFormat::GetMax() const
}
}
// else
- throw "PixelFormat bad representation";
- return 0;
+ gdcmAssertAlwaysMacro( 0 ); // throw "PixelFormat bad representation";
}
bool PixelFormat::IsValid() const
-----------------------------------------------------------------------
Summary of changes:
.../MediaStorageAndFileFormat/gdcmPixelFormat.cxx | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
hooks/post-receive
--
Grassroots DICOM
|