Code improvements

This commit is contained in:
Valentino Orlandi 2022-10-10 21:14:48 +02:00
parent faa30e3d69
commit cec7a99de5
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
2 changed files with 2 additions and 4 deletions

View File

@ -82,7 +82,7 @@ std::string HashOps::digestFile( const std::string& file_path )
// try reading as gzip compressed file
GZutils::readFile( file_path, content );
} catch (const GenericException& e) {
} catch ( const GenericException& e ) {
// failed closing file pointer
throw e;
@ -95,7 +95,7 @@ std::string HashOps::digestFile( const std::string& file_path )
}
// re-catched in craplog
} catch (const GenericException) {
} catch ( const GenericException ) {
// failed closing gzip file pointer
throw GenericException( QString("%1:\n%2").arg(
DialogSec::tr("An error accured while reading the gzipped file"),

View File

@ -53,6 +53,4 @@ const std::string DAYS__FRIDAY = TR::tr("Friday").toStdString();
const std::string DAYS__SATURDAY = TR::tr("Saturday").toStdString();
#endif // TR_H