summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-07-09 13:50:51 +0300
committerDan McDonald <danmcd@joyent.com>2018-12-04 19:34:42 -0500
commit21368e40253d35b164340a2c37815fabb3e9a3d4 (patch)
treedd51691c9788f9ac100eaacaeb5579653ad70185
parente3026534c008abc0cbdcccf8cff6ac302fac6b52 (diff)
downloadillumos-gate-21368e40253d35b164340a2c37815fabb3e9a3d4.tar.gz
10027 loader: common/ufsread: variable 'indbuf' set but not used
Reviewed by: Sebastian Wiedenroth <wiedi@frubar.net> Reviewed by: Peter Tribble <peter.tribble@gmail.com> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/boot/sys/boot/common/ufsread.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/src/boot/sys/boot/common/ufsread.c b/usr/src/boot/sys/boot/common/ufsread.c
index b063e663c4..3dee081a80 100644
--- a/usr/src/boot/sys/boot/common/ufsread.c
+++ b/usr/src/boot/sys/boot/common/ufsread.c
@@ -1,4 +1,4 @@
-/*-
+/*
* Copyright (c) 2002 McAfee, Inc.
* All rights reserved.
*
@@ -179,11 +179,9 @@ static uint8_t
inode_type(ufs_ino_t inode)
{
char *blkbuf;
- void *indbuf;
size_t n;
blkbuf = dmadat->blkbuf;
- indbuf = dmadat->indbuf;
if (!inode)
return (0);