changeset 2831:b51233f03e7e

missing break
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 20 Sep 2018 11:27:48 +0200
parents ab0fd5923c1d
children 307f166b5bef d4dc6e49851d 7133ad478eea
files Core/DicomParsing/FromDcmtkBridge.cpp
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Core/DicomParsing/FromDcmtkBridge.cpp	Thu Sep 20 11:07:38 2018 +0200
+++ b/Core/DicomParsing/FromDcmtkBridge.cpp	Thu Sep 20 11:27:48 2018 +0200
@@ -1723,9 +1723,11 @@
               {
                 item->insert(FromJson(ParseTag(members[j]), value[i][members[j]], decodeDataUriScheme, dicomEncoding));
               }
+              break;
             }
 
             case Json::arrayValue:
+            {
               // Lua cannot disambiguate between an empty dictionary
               // and an empty array
               if (value[i].size() != 0)
@@ -1733,6 +1735,7 @@
                 throw OrthancException(ErrorCode_BadParameterType);
               }
               break;
+            }
 
             default:
               throw OrthancException(ErrorCode_BadParameterType);