aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/gcov.c')
-rw-r--r--gcc/gcov.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/gcov.c b/gcc/gcov.c
index fe9dce8..b3ad330 100644
--- a/gcc/gcov.c
+++ b/gcc/gcov.c
@@ -1301,8 +1301,8 @@ output_data ()
/* In case the source file line is larger than our buffer, keep
reading and outputing lines until we get a newline. */
len = strlen (string);
- while ((len == 0 || string[strlen (string) - 1] != '\n') &&
- retval != NULL)
+ while ((len == 0 || string[strlen (string) - 1] != '\n')
+ && retval != NULL)
{
retval = fgets (string, STRING_SIZE, source_file);
fputs (string, gcov_file);
@@ -1358,8 +1358,8 @@ output_data ()
/* In case the source file line is larger than our buffer, keep
reading and outputing lines until we get a newline. */
len = strlen (string);
- while ((len == 0 || string[strlen (string) - 1] != '\n') &&
- retval != NULL)
+ while ((len == 0 || string[strlen (string) - 1] != '\n')
+ && retval != NULL)
{
retval = fgets (string, STRING_SIZE, source_file);
fputs (string, gcov_file);