aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--scope.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/scope.c b/scope.c
index 420c0f5a..0e4fb3b4 100644
--- a/scope.c
+++ b/scope.c
@@ -68,7 +68,6 @@ void rebind_scope(struct symbol *sym, struct scope *new)
static void start_scope(struct scope **s)
{
struct scope *scope = __alloc_scope(0);
- memset(scope, 0, sizeof(*scope));
scope->next = *s;
*s = scope;
}
@@ -77,7 +76,6 @@ void start_file_scope(void)
{
struct scope *scope = __alloc_scope(0);
- memset(scope, 0, sizeof(*scope));
scope->next = &builtin_scope;
file_scope = scope;