Skip to content

Commit

Permalink
contrib/git-credential-gnome-keyring.c: remove unused die() function
Browse files Browse the repository at this point in the history
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
  • Loading branch information
Brandon Casey authored and Jonathan Nieder committed Sep 23, 2013
1 parent e72aefc commit 083afc0
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
Original file line number Diff line number Diff line change
Expand Up @@ -91,16 +91,6 @@ static inline void error(const char *fmt, ...)
va_end(ap);
}

static inline void die(const char *fmt, ...)
{
va_list ap;

va_start(ap,fmt);
error(fmt, ap);
va_end(ap);
exit(EXIT_FAILURE);
}

static inline void die_errno(int err)
{
error("%s", strerror(err));
Expand Down

0 comments on commit 083afc0

Please sign in to comment.