OSDN Git Service
(root)
/
git-core
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'rs/commit-pptr-simplify' into maint
[git-core/git.git]
/
color.c
diff --git
a/color.c
b/color.c
index
81c2676
..
1b95e6b
100644
(file)
--- a/
color.c
+++ b/
color.c
@@
-215,7
+215,7
@@
int color_parse_mem(const char *value, int value_len, char *dst)
/* [fg [bg]] [attr]... */
while (len > 0) {
const char *word = ptr;
- struct color c;
+ struct color c
= { COLOR_UNSPECIFIED }
;
int val, wordlen = 0;
while (len > 0 && !isspace(word[wordlen])) {