diff --git a/gds-parser/gds-parser.c b/gds-parser/gds-parser.c index acdcea0..5183a0e 100644 --- a/gds-parser/gds-parser.c +++ b/gds-parser/gds-parser.c @@ -464,6 +464,7 @@ static void scan_cell_reference_dependencies(gpointer gcell, gpointer library) static void scan_library_references(gpointer library_list_item, gpointer user) { struct gds_library *lib = (struct gds_library *)library_list_item; + (void)user; GDS_INF("Scanning Library: %s\n", lib->name); g_list_foreach(lib->cells, scan_cell_reference_dependencies, lib); diff --git a/trigonometric/cell-trigonometrics.c b/trigonometric/cell-trigonometrics.c index 5ca584d..4254b43 100644 --- a/trigonometric/cell-trigonometrics.c +++ b/trigonometric/cell-trigonometrics.c @@ -49,6 +49,7 @@ static void update_box_with_gfx(union bounding_box *box, struct gds_graphics *gf switch (gfx->gfx_type) { case GRAPHIC_BOX: + /* Expected fallthrough */ case GRAPHIC_POLYGON: bounding_box_calculate_polygon(gfx->vertices, (conv_generic_to_vector_2d_t)&convert_gds_point_to_2d_vector, @@ -57,7 +58,7 @@ static void update_box_with_gfx(union bounding_box *box, struct gds_graphics *gf case GRAPHIC_PATH: /* * This is not implemented correctly. - * Please be aware if paths are the oputpost elements of your cell. + * Please be aware if paths are the outmost elements of your cell. * You might end up with a completely wrong calculated cell size. */ /* Okay.. You're right. It is not implemented at all. ;P */