diff options
author | Jean Cyr <jcyr@dillobits.com> | 2013-08-17 10:29:35 -0400 |
---|---|---|
committer | Jean Cyr <jcyr@dillobits.com> | 2013-08-17 10:29:35 -0400 |
commit | 3f800e586112ae62bc4082ad616191206b490cb3 (patch) | |
tree | 64e2b2f2c4dc7891a31a485c838cc7126a042911 | |
parent | 0301e2d145ae59e54030ce0081234bb22b76dba2 (diff) | |
download | px4-firmware-3f800e586112ae62bc4082ad616191206b490cb3.tar.gz px4-firmware-3f800e586112ae62bc4082ad616191206b490cb3.tar.bz2 px4-firmware-3f800e586112ae62bc4082ad616191206b490cb3.zip |
Make it obvious that file * isn't used here
-rw-r--r-- | src/drivers/px4io/px4io.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/drivers/px4io/px4io.cpp b/src/drivers/px4io/px4io.cpp index c561ea83a..fed83ea1a 100644 --- a/src/drivers/px4io/px4io.cpp +++ b/src/drivers/px4io/px4io.cpp @@ -1667,7 +1667,8 @@ PX4IO::ioctl(file * /*filep*/, int cmd, unsigned long arg) } ssize_t -PX4IO::write(file */*filp*/, const char *buffer, size_t len) +PX4IO::write(file * /*filp*/, const char *buffer, size_t len) +/* Make it obvious that file * isn't used here */ { unsigned count = len / 2; |