[gjs] coverage: Reindent
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gjs] coverage: Reindent
- Date: Mon, 3 Feb 2014 21:44:42 +0000 (UTC)
commit 9adad8c4e6f855397ac3a9132f06e2c86452c346
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Feb 3 15:48:10 2014 -0500
coverage: Reindent
gjs/coverage.cpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gjs/coverage.cpp b/gjs/coverage.cpp
index d1b184e..38ed530 100644
--- a/gjs/coverage.cpp
+++ b/gjs/coverage.cpp
@@ -303,7 +303,7 @@ write_line_coverage(GOutputStream *stream,
write_string_into_stream(stream, "\n");
if (hit_count_for_line > 0)
- ++(*lines_hit_count);
+ ++(*lines_hit_count);
++(*executable_lines_count);
}
@@ -450,9 +450,7 @@ get_absolute_path(const char *path)
if (!g_path_is_absolute(path)) {
char *current_dir = g_get_current_dir();
- absolute_path = g_build_filename(current_dir,
- path,
- NULL);
+ absolute_path = g_build_filename(current_dir, path, NULL);
g_free(current_dir);
} else {
absolute_path = g_strdup(path);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]