From 032e73f1eb0c86ae1b07d6ebcefe660aeca0c356 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Tue, 2 Feb 2016 14:48:17 -0600 Subject: [PATCH] Eliminate some warnings --- system/i2c/i2c_devif.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/system/i2c/i2c_devif.c b/system/i2c/i2c_devif.c index db1ad5b3d..dbd3d23c6 100644 --- a/system/i2c/i2c_devif.c +++ b/system/i2c/i2c_devif.c @@ -115,7 +115,6 @@ bool i2cdev_exists(int bus) int i2cdev_open(int bus) { FAR char *devpath; - int fd; /* Get the device path */ @@ -133,7 +132,6 @@ int i2cdev_open(int bus) int i2cdev_transfer(int fd, FAR struct i2c_msg_s *msgv, int msgc) { struct i2c_transfer_s xfer; - int ret; /* Set up the IOCTL argument */