summaryrefslogtreecommitdiff
path: root/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/credential/gnome-keyring/git-credential-gnome-keyring.c')
-rw-r--r--contrib/credential/gnome-keyring/git-credential-gnome-keyring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
index 04852d77d3..b9bb794601 100644
--- a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
+++ b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
@@ -306,7 +306,7 @@ static void credential_clear(struct credential *c)
static int credential_read(struct credential *c)
{
char buf[1024];
- ssize_t line_len = 0;
+ size_t line_len;
char *key = buf;
char *value;