Index: trunk/src/plug_io.c =================================================================== --- trunk/src/plug_io.c (revision 36475) +++ trunk/src/plug_io.c (revision 36476) @@ -451,7 +451,7 @@ static int pcb_write_buffer(FILE *f, pcb_buffer_t *buff, const char *fmt, rnd_bool subc_only, long subc_idx) { - int res/*, newfmt = 0*/; + int res = -1/*, newfmt = 0*/; pcb_plug_io_t *p = pcb_io_find_writer(subc_only ? PCB_IOT_FOOTPRINT : PCB_IOT_BUFFER, fmt); if (p != NULL) {