[PATCH] Cleanup some uninitialized variables
Dirk Hohndel
dirk at hohndel.org
Thu Dec 5 07:28:56 UTC 2013
On Thu, 2013-12-05 at 11:33 +0200, Lubomir I. Ivanov wrote:
> 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)
Dang, I missed that :-(
/D
More information about the subsurface
mailing list