changeset 323:ae4c0c7b2254

fix warning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Jul 2021 15:58:35 +0200
parents 7e9622c64c40
children f4f1c925797e e0b9abf98019
files Framework/Plugins/StorageBackend.cpp MySQL/CMakeLists.txt PostgreSQL/CMakeLists.txt SQLite/CMakeLists.txt
diffstat 4 files changed, 5 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Plugins/StorageBackend.cpp	Tue Jul 20 15:52:15 2021 +0200
+++ b/Framework/Plugins/StorageBackend.cpp	Tue Jul 20 15:58:35 2021 +0200
@@ -779,7 +779,9 @@
       throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError);
     }
     
+#if ORTHANC_FRAMEWORK_VERSION_IS_ABOVE(1, 9, 2)
     unsigned int attempt = 0;
+#endif
     
     for (;;)
     {
--- a/MySQL/CMakeLists.txt	Tue Jul 20 15:52:15 2021 +0200
+++ b/MySQL/CMakeLists.txt	Tue Jul 20 15:58:35 2021 +0200
@@ -11,7 +11,7 @@
   set(ORTHANC_FRAMEWORK_VERSION "mainline")
   set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg")
 else()
-  set(ORTHANC_FRAMEWORK_VERSION "1.9.4")
+  set(ORTHANC_FRAMEWORK_VERSION "1.9.5")
   set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web")
 endif()
 
--- a/PostgreSQL/CMakeLists.txt	Tue Jul 20 15:52:15 2021 +0200
+++ b/PostgreSQL/CMakeLists.txt	Tue Jul 20 15:58:35 2021 +0200
@@ -11,7 +11,7 @@
   set(ORTHANC_FRAMEWORK_VERSION "mainline")
   set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg")
 else()
-  set(ORTHANC_FRAMEWORK_VERSION "1.9.4")
+  set(ORTHANC_FRAMEWORK_VERSION "1.9.5")
   set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web")
 endif()
 
--- a/SQLite/CMakeLists.txt	Tue Jul 20 15:52:15 2021 +0200
+++ b/SQLite/CMakeLists.txt	Tue Jul 20 15:58:35 2021 +0200
@@ -11,7 +11,7 @@
   set(ORTHANC_FRAMEWORK_VERSION "mainline")
   set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "hg")
 else()
-  set(ORTHANC_FRAMEWORK_VERSION "1.9.4")
+  set(ORTHANC_FRAMEWORK_VERSION "1.9.5")
   set(ORTHANC_FRAMEWORK_DEFAULT_SOURCE "web")
 endif()