[latexila] Remove curly braces around one-line blocks
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [latexila] Remove curly braces around one-line blocks
- Date: Sun, 26 Oct 2014 20:59:30 +0000 (UTC)
commit a55ea9d47a1c9be4d21d4c84af752110a9f019e6
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Oct 26 21:24:38 2014 +0100
Remove curly braces around one-line blocks
tests/test-build-tools.c | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
---
diff --git a/tests/test-build-tools.c b/tests/test-build-tools.c
index fb3364a..fa73efd 100644
--- a/tests/test-build-tools.c
+++ b/tests/test-build-tools.c
@@ -101,9 +101,7 @@ check_build_tools (LatexilaBuildTool *build_tool1,
g_assert_cmpint (g_list_length (jobs1), ==, g_list_length (jobs2));
for (; jobs1 != NULL; jobs1 = jobs1->next, jobs2 = jobs2->next)
- {
- check_build_jobs (jobs1->data, jobs2->data);
- }
+ check_build_jobs (jobs1->data, jobs2->data);
g_free (label1);
g_free (label2);
@@ -179,9 +177,7 @@ loaded_cb (LatexilaBuildTools *build_tools)
for (l1 = list, l2 = build_tools->build_tools;
l1 != NULL && l2 != NULL;
l1 = l1->next, l2 = l2->next)
- {
- check_build_tools (l1->data, l2->data);
- }
+ check_build_tools (l1->data, l2->data);
g_list_free_full (list, g_object_unref);
gtk_main_quit ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]