From 57d4b35d267ab7dfe8e5c05086fda1e7afc8e90b Mon Sep 17 00:00:00 2001 From: Enrico Scholz Date: Thu, 30 Oct 2003 15:12:34 +0000 Subject: [PATCH] do not declare unused parameters anymore git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/branches/SYSCALL_SWITCH@324 94cd875c-1c1d-0410-91d2-eb244daf1a30 --- util-vserver/tests/chrootsafe.cc | 2 +- util-vserver/tests/escaperoot.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/util-vserver/tests/chrootsafe.cc b/util-vserver/tests/chrootsafe.cc index 18ba38e..9a5d333 100644 --- a/util-vserver/tests/chrootsafe.cc +++ b/util-vserver/tests/chrootsafe.cc @@ -39,7 +39,7 @@ #include "vserver.h" -int main (int argc, char *argv[]) +int main (int, char *argv[]) { // This test must fail int fd = open ("/",O_RDONLY); diff --git a/util-vserver/tests/escaperoot.cc b/util-vserver/tests/escaperoot.cc index 1357229..5472088 100644 --- a/util-vserver/tests/escaperoot.cc +++ b/util-vserver/tests/escaperoot.cc @@ -104,7 +104,7 @@ static void dotest (void (*f)()) } } -int main (int argc, char *argv[]) +int main (int, char *[]) { dotest (test1); dotest (test2); -- 1.8.1.5