git.99rst.org
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
7a6d642
)
contrib/git-credential-gnome-keyring.c: strlen() returns size_t, not ssize_t
author
Brandon Casey
<redacted>
Mon, 23 Sep 2013 18:49:07 +0000
(11:49 -0700)
committer
Junio C Hamano
<redacted>
Wed, 16 Oct 2013 16:35:30 +0000
(09:35 -0700)
Also, initialization is not necessary since it is assigned before it is
used.
Signed-off-by: Brandon Casey <redacted>
Signed-off-by: Junio C Hamano <redacted>
contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
patch
|
blob
|
history
diff --git
a/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
b/contrib/credential/gnome-keyring/git-credential-gnome-keyring.c
index 04852d77d3a1c5363daf0d01460abe43a6edbed3..b9bb794601784f9eb06afa26ded0e5efffba8d8e 100644
(file)
--- 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];
- s
size_t line_len = 0
;
+ s
ize_t line_len
;
char *key = buf;
char *value;
git clone https://git.99rst.org/PROJECT