projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28880f2
)
Remove redundant test.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 6 May 2012 17:12:27 +0000
(19:12 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Sun, 6 May 2012 17:12:27 +0000
(19:12 +0200)
The loop condition in print_stringrep() tests the same.
ast.c
patch
|
blob
|
history
diff --git
a/ast.c
b/ast.c
index
ad7bab9
..
1e0ff3f
100644
(file)
--- a/
ast.c
+++ b/
ast.c
@@
-261,9
+261,9
@@
static void print_literal(const literal_expression_t *literal)
case EXPR_LITERAL_INTEGER_OCTAL:
case EXPR_LITERAL_FLOATINGPOINT:
print_stringrep(&literal->value);
- if (literal->suffix.size > 0)
- print_stringrep(&literal->suffix);
+ print_stringrep(&literal->suffix);
return;
+
case EXPR_LITERAL_WIDE_CHARACTER:
print_char('L');
/* FALLTHROUGH */