Eliminate struct copy in collectSCC(), use a pointer instead
authorPanu Matilainen <pmatilai@redhat.com>
Wed, 1 Jun 2011 09:40:55 +0000 (12:40 +0300)
committerPanu Matilainen <pmatilai@redhat.com>
Wed, 1 Jun 2011 09:50:51 +0000 (12:50 +0300)
commitd6787a84894dbf359fd179b16e0302394203736d
treeffc2be372f51aefaa0d229d42abc47e689b14db9
parent6acef96d9e1eddb588e24f924f6cf9d29ea48d64
Eliminate struct copy in collectSCC(), use a pointer instead
- collectSCC() doesn't actually modify the SCC struct it looks at
  so operating on a copy is harmless, but using a (const) pointer
  to the original makes the idea more clear (we're not modifying
  the scc struct here, only its members)
lib/order.c