mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
mruby-bin-debugger: remove unused local variables.
This commit is contained in:
@@ -205,7 +205,6 @@ mrb_debug_set_break_line(mrb_state *mrb, mrb_debug_context *dbg, const char *fil
|
||||
int32_t index;
|
||||
char* set_file;
|
||||
uint16_t result;
|
||||
size_t len;
|
||||
|
||||
if ((mrb == NULL)||(dbg == NULL)||(file == NULL)) {
|
||||
return MRB_DEBUG_INVALID_ARGUMENT;
|
||||
@@ -228,7 +227,6 @@ mrb_debug_set_break_line(mrb_state *mrb, mrb_debug_context *dbg, const char *fil
|
||||
return MRB_DEBUG_BREAK_INVALID_LINENO;
|
||||
}
|
||||
|
||||
len = strlen(file) + 1;
|
||||
set_file = mrdb_strdup(mrb, file);
|
||||
|
||||
index = dbg->bpnum;
|
||||
|
||||
@@ -66,7 +66,6 @@ dirname(mrb_state *mrb, const char *path)
|
||||
{
|
||||
size_t len;
|
||||
const char *p;
|
||||
char *dir;
|
||||
|
||||
if (path == NULL) {
|
||||
return NULL;
|
||||
|
||||
Reference in New Issue
Block a user