diff options
| author | Vincent de Phily <vincent.dephily@gmail.com> | 2010-07-09 13:44:02 +0200 |
|---|---|---|
| committer | Vincent de Phily <vincent.dephily@gmail.com> | 2010-07-09 13:44:02 +0200 |
| commit | ba4a971bfaabe7da2159a634cd07977e06c61e3a (patch) | |
| tree | ca6f31bc65d08d2e1b38791b71d81ca09ff6867c /java | |
| parent | 6abc120279ced47d899cd8596e4d48fc2171e2cf (diff) | |
| download | msgpack-python-ba4a971bfaabe7da2159a634cd07977e06c61e3a.tar.gz | |
erlang: Remove unecessary 'throw(short)' clause for unpack_{array,map}_/1
Unecessary because unpack_/1 will throw it anyway.
This does mean that we go a tiny bit deeper to find that we don't have enough data,
but that should be a rare code path. Keep the main code path fast and the code clean.
While at it, rename vars to match its sibling function and to avoid thinking that
RestLen is a byte count (it's an item count).
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions
