qt: Fix warning about missing return

* lang/qt/src/qgpgmeexportjob.cpp (ExportJob::exec): Return a value and
remove unused argument names.
--

ExportJob::exec is never executed because its virtual overload is always
used. Therefore it doesn't matter what value we return.
This commit is contained in:
Ingo Klöcker 2024-05-21 12:23:43 +02:00
parent 73403a8ba0
commit 333241b286
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9

View File

@ -107,8 +107,9 @@ void ExportJob::setExportFlags(unsigned int)
}
/* For ABI compat not pure virtual. */
GpgME::Error ExportJob::exec(const QStringList &patterns, QByteArray &data)
GpgME::Error ExportJob::exec(const QStringList &, QByteArray &)
{
return Error();
}
#include "qgpgmeexportjob.moc"