From 92e40cb8ca1c81b5de11a0cd9e49eae3b7640cc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Mon, 28 Oct 2019 21:50:03 +0100 Subject: [PATCH 1/2] Fix PKGBuild --- AUR/PKGBUILD | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUR/PKGBUILD b/AUR/PKGBUILD index 9f440fb..00ca807 100644 --- a/AUR/PKGBUILD +++ b/AUR/PKGBUILD @@ -1,4 +1,4 @@ - # Maintainer: Mario Hüttel +# Maintainer: Mario Hüttel pkgname=gds-render pkgver=20180725.001 From 188c6f5d875995f32846d6195edfed1eeeb3d427 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Mon, 28 Oct 2019 22:43:28 +0100 Subject: [PATCH 2/2] Fix style of gds-tree-checker --- gds-utils/gds-tree-checker.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gds-utils/gds-tree-checker.c b/gds-utils/gds-tree-checker.c index fc9c389..fb66048 100644 --- a/gds-utils/gds-tree-checker.c +++ b/gds-utils/gds-tree-checker.c @@ -90,7 +90,8 @@ int gds_tree_check_cell_references(struct gds_library *lib) * @param cell Cell to check for * @return 0 if cell is not in list. 1 if cell is in list */ -static int gds_tree_check_list_contains_cell(GList *list, struct gds_cell *cell) { +static int gds_tree_check_list_contains_cell(GList *list, struct gds_cell *cell) +{ GList *iter; for (iter = list; iter != NULL; iter = g_list_next(iter)) { @@ -177,12 +178,14 @@ int gds_tree_check_reference_loops(struct gds_library *lib) res = gds_tree_check_iterate_ref_and_check(cell_to_check, &visited_cells); if (visited_cells) { - /* If cell contains no loop, print error when list not empty. + /* + * If cell contains no loop, print error when list not empty. * In case of a loop, it is completely normal that the list is not empty, * due to the instant return from gds_tree_check_iterate_ref_and_check() */ if (res == 0) - fprintf(stderr, "Visited cell list should be empty. This is a bug. Please report this.\n"); + fprintf(stderr, + "Visited cell list should be empty. This is a bug. Please report this.\n"); g_list_free(visited_cells); visited_cells = NULL; }