aboutsummaryrefslogtreecommitdiff
path: root/src/sg_vpd_vendor.c
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2013-08-17 17:44:51 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2013-08-17 17:44:51 +0000
commit06df6b477dd157e72a130704d8b11ca97e335012 (patch)
tree51fcf910fbe056d52af34cd562cefc40deed6829 /src/sg_vpd_vendor.c
parent1ba3a81da7872ba2a74a11704bed46e0d7fb11f1 (diff)
downloadsg3_utils-06df6b477dd157e72a130704d8b11ca97e335012.tar.gz
clang cleanup; sg_xcopy seek not bumped fix
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@507 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'src/sg_vpd_vendor.c')
-rw-r--r--src/sg_vpd_vendor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sg_vpd_vendor.c b/src/sg_vpd_vendor.c
index 7ac7609f..10d455af 100644
--- a/src/sg_vpd_vendor.c
+++ b/src/sg_vpd_vendor.c
@@ -793,7 +793,7 @@ svpd_decode_vendor(int sg_fd, int num_vpd, int subvalue, int maxlen,
const struct svpd_values_name_t * vnp;
int alloc_len = maxlen;
- do_long = do_long; /* suppress warning */
+ if (do_long) { ; } /* unused, dummy to suppress warning */
vnp = svpd_get_v_detail(num_vpd, subvalue, -1);
if (vnp && vnp->name)
strcpy(name, vnp->name);