Add fallthrough mark, correct Typo
This commit is contained in:
parent
d5997ab5f2
commit
7124c9a5cc
@ -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)
|
static void scan_library_references(gpointer library_list_item, gpointer user)
|
||||||
{
|
{
|
||||||
struct gds_library *lib = (struct gds_library *)library_list_item;
|
struct gds_library *lib = (struct gds_library *)library_list_item;
|
||||||
|
(void)user;
|
||||||
|
|
||||||
GDS_INF("Scanning Library: %s\n", lib->name);
|
GDS_INF("Scanning Library: %s\n", lib->name);
|
||||||
g_list_foreach(lib->cells, scan_cell_reference_dependencies, lib);
|
g_list_foreach(lib->cells, scan_cell_reference_dependencies, lib);
|
||||||
|
@ -49,6 +49,7 @@ static void update_box_with_gfx(union bounding_box *box, struct gds_graphics *gf
|
|||||||
|
|
||||||
switch (gfx->gfx_type) {
|
switch (gfx->gfx_type) {
|
||||||
case GRAPHIC_BOX:
|
case GRAPHIC_BOX:
|
||||||
|
/* Expected fallthrough */
|
||||||
case GRAPHIC_POLYGON:
|
case GRAPHIC_POLYGON:
|
||||||
bounding_box_calculate_polygon(gfx->vertices,
|
bounding_box_calculate_polygon(gfx->vertices,
|
||||||
(conv_generic_to_vector_2d_t)&convert_gds_point_to_2d_vector,
|
(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:
|
case GRAPHIC_PATH:
|
||||||
/*
|
/*
|
||||||
* This is not implemented correctly.
|
* 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.
|
* You might end up with a completely wrong calculated cell size.
|
||||||
*/
|
*/
|
||||||
/* Okay.. You're right. It is not implemented at all. ;P */
|
/* Okay.. You're right. It is not implemented at all. ;P */
|
||||||
|
Loading…
Reference in New Issue
Block a user