contrib/git-credential-gnome-keyring.c: remove unused die() function
authorBrandon Casey <drafnel@gmail.com>
Mon, 23 Sep 2013 05:07:58 +0000 (22:07 -0700)
committerJonathan Nieder <jrnieder@gmail.com>
Mon, 23 Sep 2013 17:58:07 +0000 (10:58 -0700)
Signed-off-by: Brandon Casey <drafnel@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
index 15b0a1ceaf3e7dbd4580c10d73a8c658efec8887..4334f231cd4ef013c30b5fb0e404756b9f14fa54 100644 (file)
@@ -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));