Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Widgren <stefan.widgren@gmail.com>
  • Loading branch information
stewid committed Jan 13, 2018
1 parent e01b57e commit a233bd4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/git2r_graph.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ SEXP git2r_graph_ahead_behind(SEXP local, SEXP upstream)
size_t ahead, behind;
int err, nprotect = 0;
SEXP result = R_NilValue;
SEXP local_path, local_repo, local_sha;
SEXP upstream_path, upstream_repo, upstream_sha;
SEXP local_repo, local_sha;
SEXP upstream_repo, upstream_sha;
git_oid local_oid, upstream_oid;
git_repository *repository = NULL;

Expand Down Expand Up @@ -95,8 +95,8 @@ SEXP git2r_graph_ahead_behind(SEXP local, SEXP upstream)
SEXP git2r_graph_descendant_of(SEXP commit, SEXP ancestor)
{
int err, descendant_of = 0;
SEXP commit_path, commit_repo, commit_sha;
SEXP ancestor_path, ancestor_repo, ancestor_sha;
SEXP commit_repo, commit_sha;
SEXP ancestor_repo, ancestor_sha;
git_oid commit_oid, ancestor_oid;
git_repository *repository = NULL;

Expand Down

0 comments on commit a233bd4

Please sign in to comment.