projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7dfecf0
)
Remove dead variable initialisation.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 9 Dec 2008 07:51:19 +0000
(07:51 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Tue, 9 Dec 2008 07:51:19 +0000
(07:51 +0000)
[r24426]
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
52bb011
..
3d0e465
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-2912,9
+2912,9
@@
end_error:
*/
static initializer_t *parse_initializer(parse_initializer_env_t *env)
{
- type_t *type = skip_typeref(env->type);
- initializer_t *result = NULL;
+ type_t *type = skip_typeref(env->type);
size_t max_index = 0xdeadbeaf; // TODO: Resolve this uninitialized variable problem
+ initializer_t *result;
if (is_type_scalar(type)) {
result = parse_scalar_initializer(type, env->must_be_constant);