Skip to content
Browse files

node-store.c modified to remove an useless warning

  • Loading branch information...
1 parent 7b13800 commit d99fc457e7bdb4c385d86ab2fb7e991904621996 Marc Lorber committed May 1, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/model/node-store.c
View
4 src/model/node-store.c
@@ -605,9 +605,7 @@ wire_intersect_parts (NodeStore *store, Wire *wire)
if (is_wire_at_pos (wire_x1, wire_y1, wire_x2, wire_y2, lookup_pos)) {
node = node_store_get_node (store, lookup_pos);
- if (node == NULL)
- g_warning ("Bug: Found no node at pin at (%g %g).\n", x, y);
- else
+ if (node != NULL)
ip_list = g_slist_prepend (ip_list, node);
}
}

0 comments on commit d99fc45

Please sign in to comment.
Something went wrong with that request. Please try again.