]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove redundant check
authorJoel Rosdahl <joel@rosdahl.net>
Wed, 5 May 2010 21:05:46 +0000 (23:05 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 5 May 2010 21:11:24 +0000 (23:11 +0200)
ccache.c

index d7486eae62cda45361061b0b269df3ac9ade65c8..f371125943b748028153be4b1fba1e98def5359f 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -1323,7 +1323,7 @@ static void process_args(int argc, char **argv, ARGS **preprocessor_args,
                        }
                }
 
-               if (enable_direct && strncmp(argv[i], "-Wp,", 4) == 0) {
+               if (strncmp(argv[i], "-Wp,", 4) == 0) {
                        if (strncmp(argv[i], "-Wp,-MD,", 8) == 0
                            && !strchr(argv[i] + 8, ',')) {
                                generating_dependencies = 1;