]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Remove unused global variable.
authorNicholas Nethercote <n.nethercote@gmail.com>
Mon, 26 Jul 2004 10:22:33 +0000 (10:22 +0000)
committerNicholas Nethercote <n.nethercote@gmail.com>
Mon, 26 Jul 2004 10:22:33 +0000 (10:22 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2526

coregrind/stage1.c

index abc722e1263b42dc8c6b47693238b93154a086be..4d50c49f0fc20b8b89172b24b09a975d94cbf31b 100644 (file)
@@ -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);