find.c: Remove file-global "IsBad", use PlowsPolygons() return value.
commit22abf51f3ffb98fbe9c1557ada8865b0f842670a
authorPeter Clifton <peter@clifton-electronics.co.uk>
Tue, 25 Dec 2012 13:47:45 +0000 (25 13:47 +0000)
committerPeter Clifton <peter@clifton-electronics.co.uk>
Thu, 27 Dec 2012 20:06:41 +0000 (27 20:06 +0000)
treecbb8033e60f755ec64df59d5451fb4a55c15a8fc
parent4658e4074b4446337467f99fa2b8f9b7147e7e01
find.c: Remove file-global "IsBad", use PlowsPolygons() return value.

This variable was used to communicate state from the drc_callback(),
however PlowsPolygons() returns the sum of the values returned by
its callback function. As our callback returns 0 on success, 1 on
DRC failure, we know any non-zero return from PlowsPolygons()
implies a DRC problem.
src/find.c