aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKai Tietz <ktietz@redhat.com>2011-11-14 17:38:23 +0100
committerKai Tietz <ktietz@gcc.gnu.org>2011-11-14 17:38:23 +0100
commitfe860eb519540be091bcbb9af5e188338ef6ccd8 (patch)
tree58f402bab23bce5957b5629bf7351a44629d1c43 /gcc
parenta163acfa5dc5177a4dcd7ef5e72e6aa233563f61 (diff)
downloadgcc-fe860eb519540be091bcbb9af5e188338ef6ccd8.zip
gcc-fe860eb519540be091bcbb9af5e188338ef6ccd8.tar.gz
gcc-fe860eb519540be091bcbb9af5e188338ef6ccd8.tar.bz2
gcov.c (generate_results): Add missing semicolon and correct indent.
* gcov.c (generate_results): Add missing semicolon and correct indent. From-SVN: r181353
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcov.c6
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 8534bc6..23358a0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-14 Kai Tietz <ktietz@redhat.com>
+
+ * gcov.c (generate_results): Add missing semicolon and
+ correct indent.
+
2011-11-14 Ira Rosen <ira.rosen@linaro.org>
PR bootstrap/51112
diff --git a/gcc/gcov.c b/gcc/gcov.c
index 038c36d..dffb827 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -678,10 +678,10 @@ generate_results (const char *file_name)
#if HAVE_DOS_BASED_FILE_SYSTEM
if (first && src->coverage.name[1] == ':')
- first = src->coverage.name[2]
+ first = src->coverage.name[2];
#endif
- if (IS_DIR_SEPARATOR (first))
- continue;
+ if (IS_DIR_SEPARATOR (first))
+ continue;
}
accumulate_line_counts (src);