Index: trunk/src/plugins/io_easyeda/read_hi_pro_draw.c =================================================================== --- trunk/src/plugins/io_easyeda/read_hi_pro_draw.c (revision 10705) +++ trunk/src/plugins/io_easyeda/read_hi_pro_draw.c (revision 10706) @@ -133,7 +133,7 @@ htsp_insert(ctx->pro_symtab, rnd_strdup(name), *parent); } else if (ctx->pro_want_slot == -1) { - double x1, y1, x2, y2; + double x1, x2/*, y1, y2*/; coords = gdom_hash_get(bbox, easy_BBOX); if (coords->type != GDOM_ARRAY) { @@ -143,9 +143,9 @@ REQ_ARGC_GTE(coords, 4, "easypro_parse_part PART/BBOX", return -1); GET_ARG_DBL(x1, coords, 0, "easypro_parse_part PART/BBOX: x1", return -1); - GET_ARG_DBL(y1, coords, 1, "easypro_parse_part PART/BBOX: y1", return -1); +/* GET_ARG_DBL(y1, coords, 1, "easypro_parse_part PART/BBOX: y1", return -1);*/ GET_ARG_DBL(x2, coords, 2, "easypro_parse_part PART/BBOX: x2", return -1); - GET_ARG_DBL(y2, coords, 3, "easypro_parse_part PART/BBOX: y2", return -1); +/* GET_ARG_DBL(y2, coords, 3, "easypro_parse_part PART/BBOX: y2", return -1);*/ /* when reading all slots they would badly overlap - shift by bbox */ if (ctx->pro_slot > 1) @@ -257,7 +257,6 @@ const char *penname = DECOR_PEN_NAME(ctx->pro_last); csch_coord_t tx, ty; csch_text_t *txt; - g2d_xform_t imx; txt = (csch_text_t *)csch_alien_mktext(&ctx->alien, ctx->pro_last, 0, 0, penname); txt->dyntext = 1; Index: trunk/src/plugins/io_easyeda/read_hi_pro_glue.c =================================================================== --- trunk/src/plugins/io_easyeda/read_hi_pro_glue.c (revision 10705) +++ trunk/src/plugins/io_easyeda/read_hi_pro_glue.c (revision 10706) @@ -32,7 +32,6 @@ static int easypro_load_sheet(const char *user_name, const char *fn, csch_sheet_t *sheet, csch_cgrp_t *loclib_sym, htsp_t *symtab) { read_ctx_t ctx = {0}; - csch_source_arg_t *src; int rv = 0, starti, n; FILE *f; @@ -323,7 +322,6 @@ { struct dirent *de; char *fn; - int res; if (bnd->dr == NULL) { char *fn = rnd_concat(bnd->dir, "/SYMBOL", NULL); @@ -360,7 +358,6 @@ FILE *f; enum {M_MISC, M_SCH, M_SYM} main = M_MISC; int level = 0, c, res = 0, sch_id= -1; - njson_sem_ev_t ev; fn = rnd_concat(bnd->dir, "/project.json", NULL); f = rnd_fopen(&sheet->hidlib, fn, "r"); @@ -494,9 +491,7 @@ static int easypro_load_zip_sheet(easypro_bundle_t *bnd, csch_sheet_t *sheet) { - int alloced; csch_cgrp_t *loclib_sym; - csch_source_arg_t *src; if (!bnd->sheet_loader_inited) { long n; @@ -522,7 +517,7 @@ alien_setup(&symctx); for(n = 0; n < bnd->syms.used; n+=2) { - const char *key = bnd->syms.array[n]; +/* const char *key = bnd->syms.array[n];*/ const char *path = bnd->syms.array[n+1]; csch_cgrp_t *sym;