From 4ce05f7e44c6d27528f31b04d67df8f32e827dbe Mon Sep 17 00:00:00 2001 From: "Wojciech A. Koszek" Date: Tue, 4 Dec 2007 20:20:59 +0000 Subject: [PATCH] Explicitly initialize 'ret' to 0'. It lets one to build tmpfs from the latest source tree with older compiler--gcc3. Approved by: cognet (mentor) --- sys/security/audit/audit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c index 1f771e9087e6..68747b8691a2 100644 --- a/sys/security/audit/audit.c +++ b/sys/security/audit/audit.c @@ -584,6 +584,8 @@ audit_proc_coredump(struct thread *td, char *path, int errcode) char **pathp; au_id_t auid; + ret = 0; + /* * Make sure we are using the correct preselection mask. */