Skip to content
Prev Previous commit
Next Next commit
implementing merge with default options - minor change
  • Loading branch information
victorgp committed Dec 4, 2013
commit 6855a599e4faa534e0ce24215519d6099c744b57
4 changes: 2 additions & 2 deletions src/mergeresult.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ PyDoc_STRVAR(MergeResult_fastforward_oid__doc__, "Fastforward Oid");
PyObject *
MergeResult_fastforward_oid__get__(MergeResult *self)
{
if (self->is_fastforward == 1)
if (self->is_fastforward)
{
Py_INCREF(self->fastforward_oid);
return self->fastforward_oid;
Expand Down Expand Up @@ -123,7 +123,7 @@ PyTypeObject MergeResultType = {
"_pygit2.MergeResult", /* tp_name */
sizeof(MergeResult), /* tp_basicsize */
0, /* tp_itemsize */
0, /* tp_dealloc */
0, /* tp_dealloc */
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
Expand Down