From 2ea57eb44e852b5e67050c3657b44e5434057f39 Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 22 Apr 2004 20:47:07 +0000 Subject: [PATCH] fixed warnings when compiled without legacy-mode git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@1502 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/src/reducecap.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util-vserver/src/reducecap.c b/util-vserver/src/reducecap.c index 0c576b6..7cf0842 100644 --- a/util-vserver/src/reducecap.c +++ b/util-vserver/src/reducecap.c @@ -227,7 +227,9 @@ int main (int argc, char *argv[]) bool do_show = false; uint32_t flags = 0; pid_t pid = 0; +#ifdef VC_ENABLE_API_LEGACY bool show_obsolete_warning = true; +#endif while (1) { int c = getopt_long(argc, argv, "+", CMDLINE_OPTIONS, 0); -- 1.8.1.5