Index: show_netnames.c =================================================================== --- show_netnames.c (revision 33589) +++ show_netnames.c (revision 33590) @@ -71,7 +71,7 @@ double rot, vx, vy, nx, ny, len, lscale; if (obj->type != PCB_OBJ_LINE) - return; + return NULL; term = pcb_qry_parent_net_term(&shn_qctx, obj); if ((term != NULL) && (term->type == PCB_OBJ_NET_TERM)) { @@ -118,6 +118,7 @@ default: pcb_text_draw_string(info, font, (const unsigned char *)netname, x, y, lscale, lscale, 0.0, 0, conf_core.appearance.label_thickness, 0, 0, 0, 0, PCB_TXT_TINY_HIDE); } + return NULL; } static void show_netnames_render(rnd_hidlib_t *hidlib, void *user_data, int argc, rnd_event_arg_t argv[])