diff options
| author | LLLL Colonq <llll@colonq> | 2026-06-09 20:33:46 -0400 |
|---|---|---|
| committer | LLLL Colonq <llll@colonq> | 2026-06-09 20:33:46 -0400 |
| commit | 08ca0370b7bd4cce61723b6d6ec9b85ff38fc51a (patch) | |
| tree | 5e5ff758fb93d10d6a662dd7d85b757db574a219 | |
| parent | 05117cef2423ddc5deedf5dd51df28806065d0c8 (diff) | |
Compile with -Oz
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | src/native.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; |
