Skip to content

Commit

Permalink
[upd] remove unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
marcooliveira committed Jul 18, 2015
1 parent d169481 commit 029285e
Showing 1 changed file with 1 addition and 15 deletions.
16 changes: 1 addition & 15 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ kvOps.counter = function (tuples, options, callback) {

var batch = this._counters[key];

var batchPosition = batch.length;
batch.length;

// add this entry to batch
batch.push({
Expand Down Expand Up @@ -369,20 +369,6 @@ function _lockAndGet(db, key, options, handler, callback) {
});
}

function _get(db, key, options, callback) {
db._get(key, options, function __handleGet(err, res) {
if (err) {
if (err.notFound) {
return callback(null, undefined);
}

return callback(err);
}

return callback(null, res);
});
}

function _collapseGet(db, key, options, callback) {
var fetcher = false;

Expand Down

0 comments on commit 029285e

Please sign in to comment.