summaryrefslogtreecommitdiff
path: root/fs/ncpfs/sock.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@linux-foundation.org>2011-05-25 04:13:42 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-05-25 19:39:56 +0400
commit2a5cac17c06f897537f91f0040b3d3c8177f6433 (patch)
treec0f9340b36f04dc1baa5dc7cac4a32a5df696366 /fs/ncpfs/sock.c
parent0fccc6221821e07366aa44bca112c4edb6d04dd7 (diff)
downloadlinux-2a5cac17c06f897537f91f0040b3d3c8177f6433.tar.xz
fs/ncpfs/inode.c: suppress used-uninitialised warning
We get this spurious warning: fs/ncpfs/inode.c: In function 'ncp_fill_super': fs/ncpfs/inode.c:451: warning: 'data.mounted_vol[1u]' may be used uninitialized in this function fs/ncpfs/inode.c:451: warning: 'data.mounted_vol[2u]' may be used uninitialized in this function fs/ncpfs/inode.c:451: warning: 'data.mounted_vol[3u]' may be used uninitialized in this function ... It's notabug, but we can easily fix it with a memset(). Reported-by: Harry Wei <jiaweiwei.xiyou@gmail.com> Cc: Petr Vandrovec <petr@vandrovec.name> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/ncpfs/sock.c')
0 files changed, 0 insertions, 0 deletions