Skip to content

Commit 04fe088

Browse files
committed
fixup! Merge remote-tracking branch 'upstream/master' into pointers
1 parent 395616b commit 04fe088

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

LibGit2Sharp/Core/NativeMethods.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,15 +1116,13 @@ internal static extern unsafe UIntPtr git_reflog_entrycount
11161116
internal static extern unsafe string git_reflog_entry_message(git_reflog_entry* entry);
11171117

11181118
[DllImport(libgit2)]
1119-
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(LaxUtf8NoCleanupMarshaler))]
11201119
internal static extern int git_refspec_transform(
11211120
GitBuf buf,
11221121
IntPtr refspec,
11231122
[MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(StrictUtf8Marshaler))] string name);
11241123

11251124

11261125
[DllImport(libgit2)]
1127-
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalCookie = UniqueId.UniqueIdentifier, MarshalTypeRef = typeof(LaxUtf8NoCleanupMarshaler))]
11281126
internal static extern int git_refspec_rtransform(
11291127
GitBuf buf,
11301128
IntPtr refspec,

LibGit2Sharp/RefSpecCollection.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ static unsafe IList<RefSpec> RetrieveRefSpecs(Remote remote, RemoteHandle remote
4545

4646
for (int i = 0; i < count; i++)
4747
{
48-
git_refspec* handle = Proxy.git_remote_get_refspec(remoteHandle, i);
4948
refSpecs.Add(new RefSpec(remote, Proxy.git_remote_get_refspec(remoteHandle, i)));
5049
}
5150

0 commit comments

Comments
 (0)