summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/i2c/i2c.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/i2c/i2c.c b/usr.sbin/i2c/i2c.c
index 68e6ca28..3a61aa5 100644
--- a/usr.sbin/i2c/i2c.c
+++ b/usr.sbin/i2c/i2c.c
@@ -464,7 +464,7 @@ main(int argc, char** argv)
{
struct iiccmd cmd;
struct options i2c_opt;
- char *dev, *skip_addr, *err_msg, *i2c_buf;
+ char *dev, *skip_addr, *i2c_buf;
int error, chunk_size, i, j, ch;
errno = 0;
@@ -474,7 +474,6 @@ main(int argc, char** argv)
chunk_size = 16;
dev = I2C_DEV;
- err_msg = NULL;
/* Default values */
i2c_opt.addr_set = 0;
OpenPOWER on IntegriCloud