[PATCH] Cleanup some uninitialized variables

Lubomir I. Ivanov neolit123 at gmail.com
Thu Dec 5 01:33:30 UTC 2013


On 5 December 2013 01:48, Anton Lundin <glance at acc.umu.se> wrote:
> I can't really see any point in passing a local loop variable around,
> and copying a uninitialized pointer. Better use local variables there
> and let the compiler optimize them away if it feels for doing that.

it's an old trick to complicate interfaces.

your change will definitely optimize the loop.
(missing signed-off-by)

lubomir
--


More information about the subsurface mailing list