Skip to content

Commit 53bf0bd

Browse files
committed
Fix VS warning C4098: 'giterr_set_str' : void function returning a value
Signed-off-by: Sven Strickroth <email@cs-ware.de>
1 parent 635693d commit 53bf0bd

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)