]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove unused found_x_opt variable
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 1 Jun 2010 19:04:53 +0000 (21:04 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 1 Jun 2010 19:04:53 +0000 (21:04 +0200)
ccache.c

index 31fa59e143201c1671a46ede1902234dc9f13fa5..8a4026e3a6e3d0a4be1091d9e84eb433c1c4db46 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -1293,7 +1293,6 @@ static void process_args(int argc, char **argv, ARGS **preprocessor_args,
        int found_c_opt = 0;
        int found_S_opt = 0;
        int found_arch_opt = 0;
-       int found_x_opt = 0;
        const char *input_language = NULL;
        struct stat st;
        /* is the dependency makefile name overridden with -MF? */
@@ -1369,7 +1368,6 @@ static void process_args(int argc, char **argv, ARGS **preprocessor_args,
 
                /* -x can change the extension for the next input file */
                if (strcmp(argv[i], "-x") == 0 && !input_file) {
-                       found_x_opt = 1;
                        input_language = argv[i+1];
                }