aboutsummaryrefslogtreecommitdiffstats
path: root/host/include
diff options
context:
space:
mode:
Diffstat (limited to 'host/include')
-rw-r--r--host/include/uhd/types/metadata.h10
-rw-r--r--host/include/uhd/usrp/usrp.h4
-rw-r--r--host/include/uhd/utils/soft_register.hpp2
3 files changed, 8 insertions, 8 deletions
diff --git a/host/include/uhd/types/metadata.h b/host/include/uhd/types/metadata.h
index 0cdbc6a72..37758e16a 100644
--- a/host/include/uhd/types/metadata.h
+++ b/host/include/uhd/types/metadata.h
@@ -164,7 +164,7 @@ UHD_API uhd_error uhd_rx_metadata_out_of_sequence(
*
* \param h metadata handle
* \param pp_string_out string buffer for pp_string
- * \param buffer length
+ * \param strbuffer_len buffer length
*/
UHD_API uhd_error uhd_rx_metadata_to_pp_string(
uhd_rx_metadata_handle h,
@@ -190,7 +190,7 @@ UHD_API uhd_error uhd_rx_metadata_error_code(
*
* \param h metadata handle
* \param strerror_out string buffer for strerror
- * \param buffer length
+ * \param strbuffer_len buffer length
*/
UHD_API uhd_error uhd_rx_metadata_strerror(
uhd_rx_metadata_handle h,
@@ -210,7 +210,7 @@ UHD_API uhd_error uhd_rx_metadata_strerror(
*
* \param h metadata handle
* \param error_out string buffer for error
- * \param buffer length
+ * \param strbuffer_len buffer length
*/
UHD_API uhd_error uhd_rx_metadata_last_error(
uhd_rx_metadata_handle h,
@@ -269,7 +269,7 @@ UHD_API uhd_error uhd_tx_metadata_end_of_burst(
*
* \param h metadata handle
* \param error_out string buffer for error
- * \param buffer length
+ * \param strbuffer_len buffer length
*/
UHD_API uhd_error uhd_tx_metadata_last_error(
uhd_tx_metadata_handle h,
@@ -349,7 +349,7 @@ UHD_API uhd_error uhd_async_metadata_user_payload(
*
* \param h metadata handle
* \param error_out string buffer for error
- * \param buffer length
+ * \param strbuffer_len buffer length
*/
UHD_API uhd_error uhd_async_metadata_last_error(
uhd_async_metadata_handle h,
diff --git a/host/include/uhd/usrp/usrp.h b/host/include/uhd/usrp/usrp.h
index 1bde694b4..67f8e0f70 100644
--- a/host/include/uhd/usrp/usrp.h
+++ b/host/include/uhd/usrp/usrp.h
@@ -155,7 +155,7 @@ UHD_API uhd_error uhd_rx_streamer_max_num_samps(
*
* \param h RX streamer handle
* \param buffs pointer to buffers in which to receive samples
- * \param samps_per_buffer max number of samples per buffer
+ * \param samps_per_buff max number of samples per buffer
* \param md handle to RX metadata in which to receive results
* \param timeout timeout in seconds to wait for a packet
* \param one_packet send a single packet
@@ -235,7 +235,7 @@ UHD_API uhd_error uhd_tx_streamer_max_num_samps(
*
* \param h TX streamer handle
* \param buffs pointer to buffers containing samples to send
- * \param samps_per_buffer max number of samples per buffer
+ * \param samps_per_buff max number of samples per buffer
* \param md handle to TX metadata
* \param timeout timeout in seconds to wait for a packet
* \param items_sent pointer to output variable for number of samples send
diff --git a/host/include/uhd/utils/soft_register.hpp b/host/include/uhd/utils/soft_register.hpp
index 9006ab5c7..a2c34a4ec 100644
--- a/host/include/uhd/utils/soft_register.hpp
+++ b/host/include/uhd/utils/soft_register.hpp
@@ -649,7 +649,7 @@ public:
BOOST_FOREACH(const soft_regmap_accessor_t* db, _regmap_dbs) {
try {
return db->lookup(newpath.substr(1));
- } catch (std::exception& e) {
+ } catch (std::exception&) {
continue;
}
}