kioslave: remove now unused stat() buffer

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2024-06-04 03:49:05 +03:00
parent edd40b61f4
commit 3a8f3163bf

View file

@ -354,9 +354,6 @@ void FileProtocol::listDir(const KUrl &url)
//kDebug(7101) << "========= LIST " << url << "details=" << details << " ========="; //kDebug(7101) << "========= LIST " << url << "details=" << details << " =========";
UDSEntry entry; UDSEntry entry;
#ifndef HAVE_DIRENT_D_TYPE
KDE_struct_stat st;
#endif
KDE_struct_dirent *ep; KDE_struct_dirent *ep;
while ((ep = KDE_readdir(dp)) != 0 ) { while ((ep = KDE_readdir(dp)) != 0 ) {
entry.clear(); entry.clear();