bug in ServiceClassUser::SendFind in master branch
Cross-platform DICOM implementation
Brought to you by:
malat
Compiler warning: no break statement after case 0xA900.
So, this case will fall through to 0xA700.
See below:
Thanks,
Aaron
///////////////////////////////////////////////////////////////////////////////////////////////////////
case 0xA900: // Identifier Does Not Match SOP Class
{
Attribute<0x0,0x0901> errormsg;
if( ds.FindDataElement( errormsg.GetTag() ) )
{
errormsg.SetFromDataSet( ds );
gdcm::Tag const & t = errormsg.GetValue();
gdcmErrorMacro( "Offending Element: " << t ); (void)t;
}
else
{
gdcmErrorMacro( "Offending Element ??" );
}
}
case 0xA700: // Refused: Out of Resources
[release-2-2 be1cf30] Missing break statement in switch
Author: Aaron Boxer boxerab@gmail.com
1 file changed, 1 insertion(+)