diff Framework/Plugins/StorageBackend.cpp @ 323:ae4c0c7b2254

fix warning
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 20 Jul 2021 15:58:35 +0200
parents e55e4e8f9459
children 16aac0287485
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 (;;)
     {