From 67e5ff31d1fceace5ac5ac7c9f99a85f3396aa8d Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Tue, 21 Aug 2018 23:41:44 -0400 Subject: [PATCH] refactor --- GUI/mainwindow.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/GUI/mainwindow.cpp b/GUI/mainwindow.cpp index a4bffa7..f808fca 100644 --- a/GUI/mainwindow.cpp +++ b/GUI/mainwindow.cpp @@ -40,8 +40,6 @@ QString TextThreadString(TextThread* thread) ThreadParameter ParseTextThreadString(QString textThreadString) { QStringList threadParam = textThreadString.split(":"); - ThreadParameter tp = {}; - tp.hook = threadParam[1].toULongLong(); return { threadParam[0].toUInt(), threadParam[1].toULongLong(nullptr, 0), threadParam[2].toULongLong(nullptr, 0), threadParam[3].toULongLong(nullptr, 0) }; }