This commit is contained in:
xarkes 2018-03-07 08:53:31 +01:00
parent 395a383ca1
commit 2eda598ea2
2 changed files with 1 additions and 9 deletions

View File

@ -459,13 +459,6 @@ bool CutterCore::tryFile(QString path, bool rw)
return false;
}
bool is_writable = false;
if (cf->core && cf->core->io && cf->core->io->desc)
{
is_writable = cf->core->io->desc->flags & R_IO_WRITE;
}
// if rbin works, tell entry0, and symbols (main, constructor, ..)
r_core_file_close (this->core_, cf);
return true;

View File

@ -114,7 +114,6 @@ bool StringsSortFilterProxyModel::lessThan(const QModelIndex &left, const QModel
switch (left.column())
{
case StringsModel::OFFSET:
if (left_str.vaddr != right_str.vaddr)
return left_str.vaddr < right_str.vaddr;
case StringsModel::STRING: // sort by string
return left_str.string < right_str.string;