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:
parent
e72aefc9ec
commit
083afc0ec0
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user