mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
code_style: remove unused variable
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
e3d6ee0f40
commit
693940368b
1 changed files with 1 additions and 2 deletions
|
@ -834,7 +834,6 @@ namespace SourceGit.ViewModels
|
|||
if (_enableFirstParentInHistories)
|
||||
builder.Append("--first-parent ");
|
||||
|
||||
var invalidFilters = new List<Models.Filter>();
|
||||
var filters = _settings.BuildHistoriesFilter();
|
||||
if (string.IsNullOrEmpty(filters))
|
||||
builder.Append("--branches --remotes --tags");
|
||||
|
@ -2129,7 +2128,7 @@ namespace SourceGit.ViewModels
|
|||
if (node.Path.Equals(path, StringComparison.Ordinal))
|
||||
return node;
|
||||
|
||||
if (path.StartsWith(node.Path, StringComparison.Ordinal))
|
||||
if (path!.StartsWith(node.Path, StringComparison.Ordinal))
|
||||
{
|
||||
var founded = FindBranchNode(node.Children, path);
|
||||
if (founded != null)
|
||||
|
|
Loading…
Reference in a new issue