Skip to content

Commit 202b403

Browse files
committed
Removed unused variable
1 parent 3b358d8 commit 202b403

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/fasm.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ void Fasm::loadCapstone() {
7070
cs_option(cs, CS_OPT_SKIPDATA, CS_OPT_ON);
7171
cs_option(cs, CS_OPT_SKIPDATA_SETUP, (size_t)&skipdata);
7272
QByteArray bytes = QByteArray::fromHex(this->textOpcodes->toPlainText().toUtf8());
73-
char *t = bytes.data();
7473
count = cs_disasm(cs, reinterpret_cast<uint8_t*>(QByteArray::fromHex(this->textOpcodes->toPlainText().toUtf8()).data()), bytes.size(), 0, 0, &insn);
7574
if (count > 0) {
7675
this->statusbar->setText("Disassembled " + QString::number(count) + " instructions");

0 commit comments

Comments
 (0)