From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oren Laadan Subject: Re: [PATCH] ipc_ind_to_str unused if !CONFIG_CHECKPOINT_DEBUG Date: Fri, 23 Oct 2009 14:54:45 -0400 Message-ID: <4AE1FBF5.3010403@librato.com> References: <20091022143238.GA31778@us.ibm.com> <20091022193657.GA12321@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20091022193657.GA12321-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: containers-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: "Serge E. Hallyn" Cc: Linux Containers List-Id: containers.vger.kernel.org Added, thanks. Serge E. Hallyn wrote: > (compilation cleanup on top of > fix-compile-with-CONFIG_CHECKPOINT_DEBUG-n.patch > ) > > Signed-off-by: Serge E. Hallyn > --- > ipc/checkpoint.c | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/ipc/checkpoint.c b/ipc/checkpoint.c > index 8e6e9ba..ab9110a 100644 > --- a/ipc/checkpoint.c > +++ b/ipc/checkpoint.c > @@ -21,7 +21,9 @@ > #include "util.h" > > /* for ckpt_debug */ > +#ifdef CONFIG_CHECKPOINT_DEBUG > static char *ipc_ind_to_str[] = { "sem", "msg", "shm" }; > +#endif > > #define shm_ids(ns) ((ns)->ids[IPC_SHM_IDS]) > #define msg_ids(ns) ((ns)->ids[IPC_MSG_IDS])