瀏覽代碼

Remove stray while loop

Apparently I missed this when refactoring a do/while loop into a
standard while loop. It was a harmless extra invocation to check if the
stack was empty.
pull/32/merge
Paul J. Davis 12 年之前
父節點
當前提交
97d8269aec
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      c_src/encoder.c

+ 1
- 1
c_src/encoder.c 查看文件

@ -705,7 +705,7 @@ encode(ErlNifEnv* env, int argc, const ERL_NIF_TERM argv[])
goto done;
}
}
} while(!enif_is_empty_list(env, stack));
}
if(!enc_done(e, &item)) {
ret = enc_error(e, "internal_error");

Loading…
取消
儲存