mirror of
https://github.com/libgit2/libgit2.git
synced 2026-01-25 02:56:17 +00:00
remote: Don't use designated initializer
This commit is contained in:
@@ -205,10 +205,7 @@ static void do_fetch_repo_with_ref_matching_negative_refspec(git_oid *commit1id)
|
||||
/* fetch the remote with negative refspec for references prefixed with '_' */
|
||||
{
|
||||
char *refspec_strs = { NEGATIVE_SPEC };
|
||||
git_strarray refspecs = {
|
||||
.count = 1,
|
||||
.strings = &refspec_strs,
|
||||
};
|
||||
git_strarray refspecs = { &refspec_strs, 1 };
|
||||
|
||||
git_remote *remote;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user