cleanup: Remove redundant assignment.
authorChristoph Mallon <christoph.mallon@gmx.de>
Wed, 21 Nov 2012 20:22:09 +0000 (21:22 +0100)
committerChristoph 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

index e4f24f1..f49f74b 100644 (file)
@@ -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);