Whamcloud - gitweb
LU-3107 build: fix 'code maintainability' errors
authorSebastien Buisson <sebastien.buisson@bull.net>
Thu, 4 Apr 2013 14:14:35 +0000 (16:14 +0200)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 11 Jun 2013 16:01:02 +0000 (12:01 -0400)
commit966d0a25ba7ad6f4a58cdd25748fa356d8880e9b
tree93f5121d718623192d7683e4bfece9faccccab0c
parent60f6f21489287f0115626f40a5ad404804317f1b
LU-3107 build: fix 'code maintainability' errors

Fix 'code maintainability' issues found by Coverity version 6.5.1:
Unused pointer value (UNUSED_VALUE)
Pointer returned by function is never used.
Missing varargs init or cleanup (VARARGS)
va_end was not called for variable.

Signed-off-by: Sebastien Buisson <sebastien.buisson@bull.net>
Change-Id: I5dd51c4332e966a5e4b274ff5c699a571931161c
Reviewed-on: http://review.whamcloud.com/5944
Reviewed-by: Dmitry Eremin <dmitry.eremin@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: John Hammond <johnlockwoodhammond@gmail.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/mdt/mdt_handler.c
lustre/obdclass/lprocfs_jobstats.c
lustre/osd-ldiskfs/osd_iam.c
lustre/ptlrpc/pack_generic.c
lustre/quota/qsd_entry.c