Skip to content

Commit

Permalink
Remove duplicated code
Browse files Browse the repository at this point in the history
  • Loading branch information
Sannis committed Jan 10, 2015
1 parent 58c3a8b commit a83c3aa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/ubjson-pack.js
Expand Up @@ -34,8 +34,6 @@ function ubjsonPack(s, b, bo, v, flush) {
assert.ok(bo >= 0);
assert.ok(bo < b.length);

v = (v === null) ? undefined : v;

var len = 0;

switch (typeof v) {
Expand Down

0 comments on commit a83c3aa

Please sign in to comment.