]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Remove an unnecessary variable.
authorTim Kientzle <kientzle@gmail.com>
Sun, 11 Apr 2010 01:08:56 +0000 (21:08 -0400)
committerTim Kientzle <kientzle@gmail.com>
Sun, 11 Apr 2010 01:08:56 +0000 (21:08 -0400)
SVN-Revision: 2225

tar/bsdtar.c

index d136baa550027f81bad24f35205e46cf6c5adea9..2631cbcd161de5cb25416106b53ebb7a9ba568ed 100644 (file)
@@ -96,8 +96,6 @@ __FBSDID("$FreeBSD: src/usr.bin/tar/bsdtar.c,v 1.93 2008/11/08 04:43:24 kientzle
 int _CRT_glob = 0; /* Disable broken CRT globbing. */
 #endif
 
-static struct bsdtar *_bsdtar;
-
 #if defined(HAVE_SIGACTION) && (defined(SIGINFO) || defined(SIGUSR1))
 static volatile int siginfo_occurred;
 
@@ -151,7 +149,7 @@ main(int argc, char **argv)
         * Use a pointer for consistency, but stack-allocated storage
         * for ease of cleanup.
         */
-       _bsdtar = bsdtar = &bsdtar_storage;
+       bsdtar = &bsdtar_storage;
        memset(bsdtar, 0, sizeof(*bsdtar));
        bsdtar->fd = -1; /* Mark as "unused" */
        option_o = 0;