mirror of
https://github.com/rizinorg/cutter.git
synced 2025-02-21 14:16:08 +00:00
Cleaning
This commit is contained in:
parent
395a383ca1
commit
2eda598ea2
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user