]> granicus.if.org Git - graphviz/commit
smyrna: squash -Wmaybe-uninitialized warnings in 'set_boundaries'
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 5 May 2022 15:33:16 +0000 (08:33 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 11 May 2022 03:14:22 +0000 (20:14 -0700)
commit014e38a46747be84e6f639389dd27683ad37867e
tree8f60e91e8c164ff3566a2cd3230f55e76f5e3264
parentf44df8e62cac1b6eda0f7ac16ef419d071eb4456
smyrna: squash -Wmaybe-uninitialized warnings in 'set_boundaries'

This code is assuming there is at least one point to scan in the loop. In case
there is not (and to pacify the compiler) set an initial trivial bounding box.
cmd/smyrna/topviewfuncs.c