From bcb10e01bfdbde596e3fa86bba233d6fb8d1cd6c Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 01:23:03 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- src/indexedzip.cc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/indexedzip.cc b/src/indexedzip.cc index dfebf5ca5..9110fe302 100644 --- a/src/indexedzip.cc +++ b/src/indexedzip.cc @@ -67,11 +67,10 @@ bool IndexedZip::loadFile( uint32_t offset, vector< char > & data ) zip.getFilenames( zipFileNames ); GD_DPRINTF( "Failed to load header" ); string filename; - if( zip.getCurrentFile() < zipFileNames.size() ) - { - filename= zipFileNames.at( zip.getCurrentFile() ); + if ( zip.getCurrentFile() < zipFileNames.size() ) { + filename = zipFileNames.at( zip.getCurrentFile() ); } - + qDebug() << "Current failed zip file:" << QString::fromStdString( fileName ); return false; }