From 1ca35a617bc991a7eb1145bf15a19d00ea579882 Mon Sep 17 00:00:00 2001 From: aleph Date: Tue, 13 Jul 2004 19:21:28 +0000 Subject: [PATCH] Avoid warning for unused arg when compiled without some CONFIG_KERN_xx options git-svn-id: https://src.develer.com/svnoss/bertos/trunk@45 38d2e660-2303-0410-9eaa-f027e97ec537 --- kern/proc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/kern/proc.c b/kern/proc.c index b735846d..99f844bf 100755 --- a/kern/proc.c +++ b/kern/proc.c @@ -17,6 +17,9 @@ /* * $Log$ + * Revision 1.4 2004/07/13 19:21:28 aleph + * Avoid warning for unused arg when compiled without some CONFIG_KERN_xx options + * * Revision 1.3 2004/06/06 18:37:57 bernie * Rename event macros to look like regular functions. * @@ -69,6 +72,9 @@ struct Process MainProcess; static void proc_init_struct(Process* proc) { + /* Avoid warning for unused argument */ + (void)proc; + #if CONFIG_KERN_TIMER event_initSignal(&proc->proc_timer.expire, proc, SIG_SINGLE); #endif -- 2.25.1