Index: trunk/src_plugins/io_autotrax/write.c =================================================================== --- trunk/src_plugins/io_autotrax/write.c (revision 14546) +++ trunk/src_plugins/io_autotrax/write.c (revision 14547) @@ -588,7 +588,7 @@ pcb_coord_t Thickness; Thickness = PCB_MIL_TO_COORD(10); autotrax_cpoly_hatch_lines(ctx, polygon, PCB_CPOLY_HATCH_HORIZONTAL | PCB_CPOLY_HATCH_VERTICAL, Thickness * 3, Thickness, current_layer, dx, dy); -#warning TODO: do we really need to reimplement this, can't cpoly_hatch_lines handle it? +#warning TODO: do we really need to reimplement this, can not cpoly_hatch_lines handle it? for(pa = pcb_poly_island_first(polygon, &poly_it); pa != NULL; pa = pcb_poly_island_next(&poly_it)) { /* now generate cross hatch lines for polygon island export */ pcb_pline_t *pl, *track; @@ -653,10 +653,6 @@ /* writes autotrax PCB to file */ int io_autotrax_write_pcb(pcb_plug_io_t *ctx, FILE *FP, const char *old_filename, const char *new_filename, pcb_bool emergency) { - pcb_cardinal_t i; - int physical_layer_count = 0; - int current_autotrax_layer = 0; - int current_group = 0; wctx_t wctx; /* autotrax expects layout dimensions to be specified in mils */ @@ -684,9 +680,6 @@ return -1; } - /* here we count the copper layers to be exported to the autotrax file */ - physical_layer_count = pcb_layergrp_list(PCB, PCB_LYT_COPPER, NULL, 0); - wrax_data(&wctx, PCB->Data, 0, 0); /* last are the autotrax netlist descriptors */