Remove left-over debugging code
This commit is contained in:
@@ -6,10 +6,8 @@
|
|||||||
|
|
||||||
int geef_oid_bin(ErlNifBinary *bin, const git_oid *id)
|
int geef_oid_bin(ErlNifBinary *bin, const git_oid *id)
|
||||||
{
|
{
|
||||||
if (!enif_alloc_binary(GIT_OID_RAWSZ, bin)) {
|
if (!enif_alloc_binary(GIT_OID_RAWSZ, bin))
|
||||||
printf("cannot alloc an id!\n");
|
|
||||||
return -1;
|
return -1;
|
||||||
}
|
|
||||||
|
|
||||||
memcpy(bin->data, id, GIT_OID_RAWSZ);
|
memcpy(bin->data, id, GIT_OID_RAWSZ);
|
||||||
return 0;
|
return 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user