Correct grouping of parentheses git_graph_descendant_of was returning the result of an assignment
diff --git a/src/graph.c b/src/graph.c
index 96fda7a..1c64411 100644
--- a/src/graph.c
+++ b/src/graph.c
@@ -180,7 +180,7 @@ int git_graph_descendant_of(git_repository *repo, const git_oid *commit, const g
if (git_oid_equal(commit, ancestor))
return 0;
- if ((error = git_merge_base(&merge_base, repo, commit, ancestor) < 0))
+ if ((error = git_merge_base(&merge_base, repo, commit, ancestor)) < 0)
return error;
return git_oid_equal(&merge_base, ancestor);