Skip to content

Commit 80be19b

Browse files
authored
Merge pull request libgit2#4955 from csware/c4098
Fix VS warning C4098: 'giterr_set_str' : void function returning a value
2 parents 635693d + 53bf0bd commit 80be19b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/errors.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ void giterr_clear(void)
226226

227227
void giterr_set_str(int error_class, const char *string)
228228
{
229-
return git_error_set_str(error_class, string);
229+
git_error_set_str(error_class, string);
230230
}
231231

232232
void giterr_set_oom(void)

0 commit comments

Comments
 (0)