Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
t4201: make use of abbreviation in the test more robust
[gitweb.git]
/
color.c
diff --git
a/color.c
b/color.c
index 2925a819b219453a5f5be974c034babccdfa8417..dee61557e03f452f1e20ce6c8c467203aa8aed60 100644
(file)
--- a/
color.c
+++ b/
color.c
@@
-225,7
+225,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])) {