staging/lustre: silence gcc build warning
authorPeng Tao <bergwolf@gmail.com>
Mon, 3 Jun 2013 13:58:18 +0000 (21:58 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 3 Jun 2013 18:32:50 +0000 (11:32 -0700)
commit894cca1d5c310423b5d2b8969f140aa3e195ebe1
tree3488aad30260688a5bab144d6641e7bc19b5d8b4
parent7d5ed06b2bbbfcdd6bff37b2acaed513462789f3
staging/lustre: silence gcc build warning

got bellow build warning that is indeed a false alarm.

  CC [M]  drivers/staging/lustre/lustre/llite/llite_nfs.o
  drivers/staging/lustre/lustre/libcfs/nidstrings.c: In function ‘
  libcfs_str2net_internal’:
  drivers/staging/lustre/lustre/libcfs/nidstrings.c:432:17: warning: ‘nf’ may be
  used uninitialized in this function [-Wuninitializ
  ed]

Signed-off-by: Peng Tao <tao.peng@emc.com>
Signed-off-by: Andreas Dilger <andreas.dilger@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/nidstrings.c