changeset 369:557bc5ba3a5c

fix warnings
author Alain Mazy <am@osimis.io>
date Wed, 01 Feb 2023 16:25:37 +0100
parents d04fd259215b
children d2b5d9c92214 c1fe28de1bf6
files Odbc/Plugins/OdbcIndex.cpp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Odbc/Plugins/OdbcIndex.cpp	Mon Dec 05 14:20:51 2022 +0100
+++ b/Odbc/Plugins/OdbcIndex.cpp	Wed Feb 01 16:25:37 2023 +0100
@@ -367,7 +367,7 @@
 
     OrthancPluginResourceType type;
     bool hasParent;
-    int64_t parentId;
+    int64_t parentId = 0;
 
     {
       DatabaseManager::CachedStatement lookupResource(
@@ -462,7 +462,7 @@
 
     bool hasRemainingAncestor = false;
     std::string remainingAncestor;
-    OrthancPluginResourceType ancestorType;
+    OrthancPluginResourceType ancestorType = OrthancPluginResourceType_None;
     
     if (hasParent)
     {