repositories
/
TP_AL_C.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa60d3b
)
Fix a warning on a struct initializer.
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Mon, 13 Nov 2017 19:31:05 +0000
(20:31 +0100)
committer
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Mon, 13 Nov 2017 19:31:05 +0000
(20:31 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
lexer/main.c
patch
|
blob
|
blame
|
history
diff --git
a/lexer/main.c
b/lexer/main.c
index 40ff04d540f95c4b7e6fa16b984d8e188997af6d..3837e9bcf3daa7d4eacf8b6350386aacd0445a80 100644
(file)
--- a/
lexer/main.c
+++ b/
lexer/main.c
@@
-11,7
+11,7
@@
struct token_s {
wint_t value[50];
};
-struct token_s token[TOKEN_MAX] = {
NULL, 0
};
+struct token_s token[TOKEN_MAX] = {
{NULL, {0}}
};
FILE *source = NULL, *target = NULL;
wint_t c;