Created attachment 15166 [details] [review]
Move some declarations and don't declare an extra variable with the
same name, to fix warnings about mixed declarations and code.
With this patch, the driver compiles with no warnings, when using
very verbose gcc options.
Thanks, patch pushed.