]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add missing statistics update for -E option failures
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 17 May 2010 18:11:32 +0000 (20:11 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 17 May 2010 18:11:32 +0000 (20:11 +0200)
ccache.c

index 482d48d9f23391dde0648b72fe35fd2e1533cf26..e2386c1f438dab5ade477f548a0054d9eb0d0dc3 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -1231,6 +1231,7 @@ static void process_args(int argc, char **argv, ARGS **preprocessor_args,
                /* some options will never work ... */
                if (strcmp(argv[i], "-E") == 0) {
                        cc_log("Compiler option -E is unsupported");
+                       stats_update(STATS_UNSUPPORTED);
                        failed();
                }