diff options
-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); |