Mercurial > hg > orthanc-databases
diff MySQL/Plugins/MySQLIndex.cpp @ 321:eb0b04c10bc4
cppcheck
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 20 Jul 2021 08:32:28 +0200 |
parents | 8de3a1ecac11 |
children | 16aac0287485 cd9521e04249 |
line wrap: on
line diff
--- a/MySQL/Plugins/MySQLIndex.cpp Tue Jul 20 08:16:17 2021 +0200 +++ b/MySQL/Plugins/MySQLIndex.cpp Tue Jul 20 08:32:28 2021 +0200 @@ -368,7 +368,7 @@ while (!done) { bool hasSibling = false; - int64_t parentId; + int64_t parentId = -1; // Dummy initialization { DatabaseManager::CachedStatement lookupSiblings(