comparison 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
comparison
equal deleted inserted replaced
320:1ff0751efd67 321:eb0b04c10bc4
366 bool done = false; 366 bool done = false;
367 367
368 while (!done) 368 while (!done)
369 { 369 {
370 bool hasSibling = false; 370 bool hasSibling = false;
371 int64_t parentId; 371 int64_t parentId = -1; // Dummy initialization
372 372
373 { 373 {
374 DatabaseManager::CachedStatement lookupSiblings( 374 DatabaseManager::CachedStatement lookupSiblings(
375 STATEMENT_FROM_HERE, manager, 375 STATEMENT_FROM_HERE, manager,
376 "SELECT parentId FROM Resources " 376 "SELECT parentId FROM Resources "