summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-08-18 21:00:51 +0900
committerYukihiro Matsumoto <[email protected]>2012-08-18 21:00:51 +0900
commit9206dcb00d8484098cd2a89708eec3ac4b4a7441 (patch)
tree4fbaed565a197b62f2cb23f2000d5b98873e1511
parentf55df8f47a3c9de22e6b57c2535368bc33cf74f1 (diff)
downloadmruby-9206dcb00d8484098cd2a89708eec3ac4b4a7441.tar.gz
mruby-9206dcb00d8484098cd2a89708eec3ac4b4a7441.zip
remove assignment to unused dst; close #424
-rw-r--r--src/load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/load.c b/src/load.c
index cee985f43..6c7396407 100644
--- a/src/load.c
+++ b/src/load.c
@@ -281,7 +281,7 @@ mrb_load_irep(mrb_state *mrb, FILE* fp)
dst += rlen;
}
rite_fgets(rfp, hex8, sizeof(hex8), TRUE); //dummy record len
- dst += hex_to_bin32(dst, hex8);
+ hex_to_bin32(dst, hex8); /* dst += hex_to_bin32(dst, hex8); */
if (0 != hex_to_uint32(hex8)) {
ret = MRB_DUMP_INVALID_IREP;
goto error_exit;