]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Remove unnecessary NULL check
authorJoel Rosdahl <joel@rosdahl.net>
Sat, 27 Feb 2010 21:22:03 +0000 (22:22 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 27 Feb 2010 21:22:03 +0000 (22:22 +0100)
ccache.c

index 1a43698cb0e2cfea8a8fa499f02eaa1238e94f44..75837371ea1a60e1da39ff4eb18550bf44ded714 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -1462,7 +1462,7 @@ static void process_args(int argc, char **argv)
 
        /* If dependencies are generated, configure the preprocessor */
 
-       if (generating_dependencies && output_obj) {
+       if (generating_dependencies) {
                if (!dependency_filename_specified) {
                        char *default_depfile_name = x_strdup(output_obj);
                        char *p = strrchr(default_depfile_name, '.');