Re: [PATCH] autofs4: fix sparse warning in root.c

2008-02-15 Thread Ian Kent
On Fri, 2008-02-15 at 17:49 -0800, Harvey Harrison wrote: > fs/autofs4/root.c:536:23: warning: symbol 'ino' shadows an earlier one > fs/autofs4/root.c:510:22: originally declared here > > There is no need to redeclare, we are at the end of the loop and in > the next iteration of the loop, ino

[PATCH] autofs4: fix sparse warning in root.c

2008-02-15 Thread Harvey Harrison
fs/autofs4/root.c:536:23: warning: symbol 'ino' shadows an earlier one fs/autofs4/root.c:510:22: originally declared here There is no need to redeclare, we are at the end of the loop and in the next iteration of the loop, ino will be reset. Signed-off-by: Harvey Harrison <[EMAIL PROTECTED]> ---

[PATCH] autofs4: fix sparse warning in root.c

2008-02-15 Thread Harvey Harrison
fs/autofs4/root.c:536:23: warning: symbol 'ino' shadows an earlier one fs/autofs4/root.c:510:22: originally declared here There is no need to redeclare, we are at the end of the loop and in the next iteration of the loop, ino will be reset. Signed-off-by: Harvey Harrison [EMAIL PROTECTED] ---

Re: [PATCH] autofs4: fix sparse warning in root.c

2008-02-15 Thread Ian Kent
On Fri, 2008-02-15 at 17:49 -0800, Harvey Harrison wrote: fs/autofs4/root.c:536:23: warning: symbol 'ino' shadows an earlier one fs/autofs4/root.c:510:22: originally declared here There is no need to redeclare, we are at the end of the loop and in the next iteration of the loop, ino will be