From 08ca0370b7bd4cce61723b6d6ec9b85ff38fc51a Mon Sep 17 00:00:00 2001 From: LLLL Colonq Date: Tue, 9 Jun 2026 20:33:46 -0400 Subject: Compile with -Oz --- Makefile | 2 +- src/native.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b26cd39..baa81e8 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ CC ?= gcc AR ?= ar CHK_SOURCES ?= src/main.c $(SRCS) override CPPFLAGS += -MMD -MP -override CFLAGS += -fPIC --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wpedantic -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 # -ftrapv +override CFLAGS += -Oz -fPIC --std=c99 -g -Ideps/ -Isrc/ -Iinclude/ -Wall -Wextra -Wpedantic -Wconversion -Wformat-security -Wshadow -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wnull-dereference -Wfloat-equal -Wundef -Wpointer-arith -Wbad-function-cast -Wlogical-op -Wmissing-braces -Wcast-align -Wstrict-overflow=5 -fwrapv # -ftrapv override LDFLAGS += -g -static BUILD = build_$(CC) diff --git a/src/native.c b/src/native.c index 53927ad..b8cde3d 100644 --- a/src/native.c +++ b/src/native.c @@ -111,7 +111,7 @@ void pit_repl(pit_runtime *rt) { bufcap *= 2; buf = realloc(buf, bufcap); } - pit_value res; + pit_value res = PIT_NIL; pit_lexer lex; pit_parser parse; bool eof = false; -- cgit v1.2.3