Skip to content

Commit 083afc0

Browse files
drafneljrn
authored andcommitted
contrib/git-credential-gnome-keyring.c: remove unused die() function
Signed-off-by: Brandon Casey <[email protected]> Signed-off-by: Jonathan Nieder <[email protected]>
1 parent e72aefc commit 083afc0

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

contrib/credential/gnome-keyring/git-credential-gnome-keyring.c

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -91,16 +91,6 @@ static inline void error(const char *fmt, ...)
9191
va_end(ap);
9292
}
9393

94-
static inline void die(const char *fmt, ...)
95-
{
96-
va_list ap;
97-
98-
va_start(ap,fmt);
99-
error(fmt, ap);
100-
va_end(ap);
101-
exit(EXIT_FAILURE);
102-
}
103-
10494
static inline void die_errno(int err)
10595
{
10696
error("%s", strerror(err));

0 commit comments

Comments
 (0)