Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit b69605d

Browse files
Fix GitLock's Default member
The default value will be 0 not -1
1 parent 2e27a09 commit b69605d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/Git/GitLock.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ namespace GitHub.Unity
55
[Serializable]
66
public struct GitLock
77
{
8-
public static GitLock Default = new GitLock { ID = -1 };
8+
public static GitLock Default = new GitLock();
99

1010
public int ID;
1111
public string Path;

0 commit comments

Comments
 (0)