projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2287355
)
Simplify printing suffix of constants.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 19 Nov 2008 22:11:28 +0000
(22:11 +0000)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 19 Nov 2008 22:11:28 +0000
(22:11 +0000)
[r23836]
ast.c
patch
|
blob
|
history
diff --git
a/ast.c
b/ast.c
index
7a41eac
..
7f7ed73
100644
(file)
--- a/
ast.c
+++ b/
ast.c
@@
-223,10
+223,9
@@
static void print_const(const const_expression_t *cnst)
case ATOMIC_TYPE_FLOAT: suffix = "F"; break;
case ATOMIC_TYPE_LONG_DOUBLE: suffix = "L"; break;
- default:
suffix = NULL; break
;
+ default:
return
;
}
- if (suffix != NULL)
- fputs(suffix, out);
+ fputs(suffix, out);
}
/**