From: Enrico Scholz Date: Thu, 30 Oct 2003 15:12:34 +0000 (+0000) Subject: do not declare unused parameters anymore X-Git-Tag: version_0_23_96~8 X-Git-Url: http://git.linux-vserver.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=57d4b35d267ab7dfe8e5c05086fda1e7afc8e90b;p=util-vserver.git 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 --- 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);