Skip to content

Commit e43bb02

Browse files
joevtdingusdev
authored andcommitted
debugger: Remove unused variable in patch_mem.
1 parent 341d547 commit e43bb02

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

debugger/debugger.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -367,8 +367,6 @@ static void patch_mem(string& params) {
367367
size_str = value_str.substr(value_str.find_first_of(".") + 1);
368368
value_str = value_str.substr(0, value_str.find_first_of("."));
369369

370-
bool is_char = false;
371-
372370
switch (size_str.back()) {
373371
case 'b':
374372
case 'B':
@@ -389,7 +387,6 @@ static void patch_mem(string& params) {
389387
case 'c':
390388
case 'C':
391389
value_size = 1;
392-
is_char = true;
393390
break;
394391
default:
395392
cout << "Invalid value size " << size_str << endl;

0 commit comments

Comments
 (0)