# HG changeset patch # User Alain Mazy # Date 1675265077 -3600 # Node ID 82f73188b58d291b066ebb0266f6c3be2de098f6 # Parent cd9521e042493e49cb780aee44e6106fcfd6d2d4 fix warnings diff -r cd9521e04249 -r 82f73188b58d Odbc/Plugins/OdbcIndex.cpp --- a/Odbc/Plugins/OdbcIndex.cpp Thu Sep 15 18:12:34 2022 +0200 +++ b/Odbc/Plugins/OdbcIndex.cpp Wed Feb 01 16:24:37 2023 +0100 @@ -387,7 +387,7 @@ OrthancPluginResourceType type; bool hasParent; - int64_t parentId; + int64_t parentId = 0; { DatabaseManager::CachedStatement lookupResource( @@ -482,7 +482,7 @@ bool hasRemainingAncestor = false; std::string remainingAncestor; - OrthancPluginResourceType ancestorType; + OrthancPluginResourceType ancestorType = OrthancPluginResourceType_None; if (hasParent) {