contrib/git-credential-gnome-keyring.c: remove unused die() function

Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
This commit is contained in:
Brandon Casey 2013-09-22 22:07:58 -07:00 committed by Jonathan Nieder
parent e72aefc9ec
commit 083afc0ec0

View File

@ -91,16 +91,6 @@ static inline void error(const char *fmt, ...)
va_end(ap); 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) static inline void die_errno(int err)
{ {
error("%s", strerror(err)); error("%s", strerror(err));