diff options
| author | Yukihiro Matz Matsumoto <[email protected]> | 2012-12-12 08:36:42 +0900 |
|---|---|---|
| committer | Yukihiro Matz Matsumoto <[email protected]> | 2012-12-12 08:36:42 +0900 |
| commit | 975adbfb5fde10f797480efb3f97b6d8bf659443 (patch) | |
| tree | 8b652c4a705e17c174b81dcdcb40634b6302091b | |
| parent | 79ff1cab89b65a3e30772fdf70a3d44c785ec113 (diff) | |
| download | mruby-975adbfb5fde10f797480efb3f97b6d8bf659443.tar.gz mruby-975adbfb5fde10f797480efb3f97b6d8bf659443.zip | |
remove unused variable
| -rw-r--r-- | src/cdump.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cdump.c b/src/cdump.c index 6bb7ff13c..ba3b51e32 100644 --- a/src/cdump.c +++ b/src/cdump.c @@ -172,13 +172,11 @@ make_cdump_irep(mrb_state *mrb, int irep_no, FILE *f) int mrb_cdump_irep(mrb_state *mrb, int n, FILE *f,const char *initname) { - int irep_no, irep_num; + int irep_no; if (mrb == NULL || n < 0 || n >= mrb->irep_len || f == NULL || initname == NULL) return -1; - irep_num = mrb->irep_len - n; - SOURCE_CODE0("#include \"mruby.h\""); SOURCE_CODE0("#include \"mruby/irep.h\""); SOURCE_CODE0("#include \"mruby/string.h\""); |
