Skip to content

Commit

Permalink
Fix VC++ release build
Browse files Browse the repository at this point in the history
  • Loading branch information
codereader committed Apr 3, 2022
1 parent edcb5b7 commit a118914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/vcs/Repository.cpp
Expand Up @@ -199,7 +199,7 @@ RefSyncStatus Repository::getSyncStatusOfBranch(const Reference& reference)

if (!trackedBranch) throw GitException(_("The current branch doesn't track a remote, cannot check sync status"));

git_revwalk* walker;
git_revwalk* walker = nullptr;
git_revwalk_new(&walker, _repository);

// Start from remote
Expand Down

0 comments on commit a118914

Please sign in to comment.