Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
config: mark an error message up for translation
[gitweb.git]
/
color.c
diff --git
a/color.c
b/color.c
index 81c26767239f9e028057c1843f57b77640db6c26..1b95e6b2a7bb1601fa5862de8989775e197c7b41 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])) {