Commit 4b4594b4 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Remove not used variable

Don't check pointer before remove it

svn path=/trunk/KDE/kdeutils/ark/; revision=1210910
parent 57306852
......@@ -319,13 +319,11 @@ bool CliInterface::createProcess()
{
kDebug();
if (m_process) {
delete m_process;
m_process = 0;
}
delete m_process;
m_process = 0;
m_stdOutData.clear();
m_process = new KProcess();
m_process->setTextModeEnabled(true);
m_process->setOutputChannelMode(KProcess::MergedChannels);
......
......@@ -117,7 +117,6 @@ private:
QList<int> m_showColumns;
Kerfuffle::Archive *m_archive;
ArchiveDirNode *m_rootNode;
KJobTrackerInterface *m_jobTracker;
};
#endif // ARCHIVEMODEL_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment