From: Nicholas Nethercote Date: Mon, 26 Jul 2004 10:22:33 +0000 (+0000) Subject: Remove unused global variable. X-Git-Tag: svn/VALGRIND_2_2_0~110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1c5c73edeaec91bc497d1d3ed2904a37bfec48b1;p=thirdparty%2Fvalgrind.git Remove unused global variable. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2526 --- diff --git a/coregrind/stage1.c b/coregrind/stage1.c index abc722e126..4d50c49f0f 100644 --- a/coregrind/stage1.c +++ b/coregrind/stage1.c @@ -47,7 +47,6 @@ #include "ume_archdefs.h" static int stack[SIGSTKSZ*4]; -static int our_argc; /* Where we expect to find all our aux files (namely, stage2) */ static const char *valgrind_lib = VG_LIBDIR; @@ -217,8 +216,6 @@ int main(int argc, char **argv) assert(ume_exec_esp != NULL); - our_argc = argc; - /* Set the address space limit as high as it will go, since we make a lot of very large mappings. */ getrlimit(RLIMIT_AS, &rlim);