diff options
author | dzwdz | 2023-09-03 01:41:52 +0200 |
---|---|---|
committer | dzwdz | 2023-09-03 01:41:52 +0200 |
commit | f8732691b48284bf1fe50f03142c52223a99859c (patch) | |
tree | 5d8046b0a8bd57fb859616c5527479ce9996075a | |
parent | a492c6ec119bd1151a6f2f7b70875ba173e9c036 (diff) |
build: -Os
-rwxr-xr-x | configure | 2 | ||||
-rw-r--r-- | src/kernel/vfs/procfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -32,7 +32,7 @@ CC = x86_64-camellia-gcc V=@ -CFLAGS = -g -std=gnu99 -O2 -fPIC -ftrack-macro-expansion=0 \ +CFLAGS = -g -std=gnu99 -Os -fPIC -ftrack-macro-expansion=0 \ -Wall -Wextra -Wold-style-definition -Wno-address-of-packed-member \ -Werror=incompatible-pointer-types -Werror=implicit-function-declaration diff --git a/src/kernel/vfs/procfs.c b/src/kernel/vfs/procfs.c index fc17f1d..7ba43d8 100644 --- a/src/kernel/vfs/procfs.c +++ b/src/kernel/vfs/procfs.c @@ -90,7 +90,7 @@ procfs_accept(VfsReq *req) { Proc *root = req->backend->kern.data; struct phandle *h = (__force void*)req->id; - Proc *p; + Proc *p = NULL; char buf[512]; assert(root); assert(root->pns == root); |