diff options
author | Michael Dickens <michael.dickens@ettus.com> | 2015-03-07 11:06:15 -0500 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2015-03-11 15:33:17 -0700 |
commit | 4fa1f7825f090cdb5b7460ba5396fb79ea55e4c6 (patch) | |
tree | 90398dd7d583fa5ddb73d227583277ce1b5fe153 /host | |
parent | 2ba2b35ed3c5fb845a18aa2f0abf68d38b70abc4 (diff) | |
download | uhd-4fa1f7825f090cdb5b7460ba5396fb79ea55e4c6.tar.gz uhd-4fa1f7825f090cdb5b7460ba5396fb79ea55e4c6.tar.bz2 uhd-4fa1f7825f090cdb5b7460ba5396fb79ea55e4c6.zip |
nirio: when unsupported, comment out unused variables.
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/transport/nirio/nirio_driver_iface_unsupported.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/host/lib/transport/nirio/nirio_driver_iface_unsupported.cpp b/host/lib/transport/nirio/nirio_driver_iface_unsupported.cpp index 1a1142525..d265efa63 100644 --- a/host/lib/transport/nirio/nirio_driver_iface_unsupported.cpp +++ b/host/lib/transport/nirio/nirio_driver_iface_unsupported.cpp @@ -19,43 +19,43 @@ namespace nirio_driver_iface { nirio_status rio_open( - const std::string& device_path, - rio_dev_handle_t& device_handle) + const std::string& /* device_path */, + rio_dev_handle_t& /* device_handle */) { return NiRio_Status_FeatureNotSupported; } -void rio_close(rio_dev_handle_t& device_handle) +void rio_close(rio_dev_handle_t& /* device_handle */) { } -bool rio_isopen(rio_dev_handle_t device_handle) +bool rio_isopen(rio_dev_handle_t /* device_handle */) { return false; } nirio_status rio_ioctl( - rio_dev_handle_t device_handle, - uint32_t ioctl_code, - const void *write_buf, - size_t write_buf_len, - void *read_buf, - size_t read_buf_len) + rio_dev_handle_t /* device_handle */, + uint32_t /* ioctl_code */, + const void* /* write_buf */, + size_t /* write_buf_len */, + void* /* read_buf */, + size_t /* read_buf_len */) { return NiRio_Status_FeatureNotSupported; } nirio_status rio_mmap( - rio_dev_handle_t device_handle, - uint16_t memory_type, - size_t size, - bool writable, - rio_mmap_t &map) + rio_dev_handle_t /* device_handle */, + uint16_t /* memory_type */, + size_t /* size */, + bool /* writable */, + rio_mmap_t& /* map */) { return NiRio_Status_FeatureNotSupported; } -nirio_status rio_munmap(rio_mmap_t &map) +nirio_status rio_munmap(rio_mmap_t& /* map */) { return NiRio_Status_FeatureNotSupported; } |