From 9f99a31fac48ca6d97a8e9c206223b31c9c96191 Mon Sep 17 00:00:00 2001 From: Stefan Frederik Date: Tue, 7 Dec 2021 20:40:33 +0100 Subject: [PATCH] hash_inst_pin(): avoid reporting erc messages if for_netlist==0 --- src/netlist.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/netlist.c b/src/netlist.c index 057164dd..78310a7d 100644 --- a/src/netlist.c +++ b/src/netlist.c @@ -241,8 +241,8 @@ void get_square(double x, double y, int *xx, int *yy) * 0, XINSERT : add to hash * 1, XDELETE : remove from hash */ -static void hash_inst_pin(int what, int i, int j) -/* inst pin */ +static void hash_inst_pin(int for_netlist, int what, int i, int j) +/* inst pin */ { xRect *rct; @@ -269,9 +269,9 @@ static void hash_inst_pin(int what, int i, int j) } - if(jinst[i].name, j, prop_ptr); statusmsg(str,2); @@ -674,7 +674,7 @@ void prepare_netlist_structs(int for_netlist) for (j=0;j