Skip to content

Commit

Permalink
remove oid calculate from write
Browse files Browse the repository at this point in the history
  • Loading branch information
jacquesg committed Dec 27, 2016
1 parent 48a1483 commit d9dec3a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions sqlite/sqlite.c
Original file line number Diff line number Diff line change
Expand Up @@ -143,9 +143,6 @@ int sqlite_backend__write(git_odb_backend *_backend, const git_oid *id, const vo

backend = (sqlite_backend *)_backend;

if ((error = git_odb_hash(id, data, len, type)) < 0)
return error;

error = SQLITE_ERROR;

if (sqlite3_bind_text(backend->st_write, 1, (char *)id->id, 20, SQLITE_TRANSIENT) == SQLITE_OK &&
Expand Down

0 comments on commit d9dec3a

Please sign in to comment.