Skip to content

Commit f71ec77

Browse files
committed
_ostr -> _str
1 parent 5157cbb commit f71ec77

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/oid.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@ var Oid = exports.Oid = function(arg) {
3838
}
3939

4040
Oid.prototype.toString = function() {
41-
//var _str = new FFI.Pointer(FFI.Bindings.POINTER_SIZE);
4241
var _str = new FFI.Pointer(41);
4342
libgit2.git_oid_fmt(_str, this.coid);
4443
var buff = new Buffer(40);
4544
for(i=0; i<40; ++i) {
4645
buff[i] = _str.seek(i).getUInt8();
4746
}
48-
delete _ostr
47+
delete _str
4948
return buff.toString('utf8')
5049
}
5150

0 commit comments

Comments
 (0)