diff OrthancStone/UnitTestsSources/GenericToolboxTests.cpp @ 2161:e65fe2e50fde dicom-sr tip

integration mainline->dicom-sr
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 27 Sep 2024 22:34:17 +0200
parents 71d6ad7036b7
children
line wrap: on
line diff
--- a/OrthancStone/UnitTestsSources/GenericToolboxTests.cpp	Sat Aug 31 08:40:01 2024 +0200
+++ b/OrthancStone/UnitTestsSources/GenericToolboxTests.cpp	Fri Sep 27 22:34:17 2024 +0200
@@ -4342,7 +4342,7 @@
   const char* s = "  \t   0.0/.123/3  \t/12.5e-3//-43.1   \t     ";
 
   int32_t size;
-  double r;
+  double r = -1.0;
   const char* p = s;
 
   while (*p == ' ' || *p == '\t')
@@ -4390,7 +4390,7 @@
   const char* s = "  \t   0.0/.123/3/12.5e-3//-43.1e-2   \t     ";
 
   int32_t size;
-  double r;
+  double r = -1.0;
   const char* p = s;
 
   while (*p == ' ' || *p == '\t')