projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7fe366
)
cleanup: Remove redundant assignment.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 21 Nov 2012 20:22:09 +0000
(21:22 +0100)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 21 Nov 2012 20:22:09 +0000
(21:22 +0100)
allocate_entity_zero() sets the source position already.
builtins.c
patch
|
blob
|
history
diff --git
a/builtins.c
b/builtins.c
index
e4f24f1
..
f49f74b
100644
(file)
--- a/
builtins.c
+++ b/
builtins.c
@@
-37,8
+37,6
@@
static entity_t *create_builtin_function(builtin_kind_t kind, symbol_t *symbol,
entity->declaration.declared_storage_class = STORAGE_CLASS_EXTERN;
entity->declaration.type = function_type;
entity->declaration.implicit = true;
- entity->base.source_position = builtin_source_position;
-
entity->function.btk = kind;
record_entity(entity, /*is_definition=*/false);