kdecore: compiler warnings fix

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2023-07-30 11:31:25 +03:00
parent 48e591141b
commit 73e5c1ad96
2 changed files with 0 additions and 2 deletions

View file

@ -764,7 +764,6 @@ int KMimeType::sharedMimeInfoVersion()
QString KMimeType::mainExtension() const
{
Q_D(const KMimeType);
Q_FOREACH(const QString &pattern, patterns()) {
// Skip if if looks like: README or *. or *.*
// or *.JP*G or *.JP?

View file

@ -60,7 +60,6 @@ KPluginFactory::KPluginFactory(KPluginFactoryPrivate &d, QObject *parent)
KPluginFactory::~KPluginFactory()
{
Q_D(KPluginFactory);
delete d_ptr;
}