Skip to content

Commit ed6f5d5

Browse files
tectonic/bibtex: fix wrong return type
No caller check the return value of the function and the function does not return anything. So we change int to void. -Wreturn-type
1 parent 3fa691c commit ed6f5d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tectonic/bibtex.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ peekable_getc (peekable_input_t *peekable)
7575
return rv;
7676
}
7777

78-
static int
78+
static void
7979
peekable_ungetc (peekable_input_t *peekable, int c)
8080
{
8181
/* TODO: assert c != EOF */

0 commit comments

Comments
 (0)