summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Brandon Casey <drafnel@gmail.com>2013-09-22 22:07:58 -0700
committerLibravatar Jonathan Nieder <jrnieder@gmail.com>2013-09-23 10:58:07 -0700
commit083afc0ec0c0b3ec3a06cf96155eb5880f886293 (patch)
tree97b4def40d9a4bff8d5c5f7eb93fae47a2940c40
parentcontrib/git-credential-gnome-keyring.c: remove unnecessary pre-declarations (diff)
downloadtgif-083afc0ec0c0b3ec3a06cf96155eb5880f886293.tar.xz
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>
-rw-r--r--contrib/credential/gnome-keyring/git-credential-gnome-keyring.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
index 15b0a1ceaf..4334f231cd 100644
--- a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
+++ b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
@@ -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));