projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a9560f
)
Remove redundant memset().
author
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 26 Apr 2012 17:36:07 +0000
(19:36 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Thu, 26 Apr 2012 17:36:07 +0000
(19:36 +0200)
parser.c
patch
|
blob
|
history
diff --git
a/parser.c
b/parser.c
index
af87b9f
..
d1435c4
100644
(file)
--- a/
parser.c
+++ b/
parser.c
@@
-8865,7
+8865,6
@@
static asm_argument_t *parse_asm_arguments(bool is_out)
while (token.kind == T_STRING_LITERAL || token.kind == '[') {
asm_argument_t *argument = allocate_ast_zero(sizeof(argument[0]));
- memset(argument, 0, sizeof(argument[0]));
if (next_if('[')) {
if (token.kind != T_IDENTIFIER) {