aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/rfnoc/block_id.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib/rfnoc/block_id.cpp')
-rw-r--r--host/lib/rfnoc/block_id.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/rfnoc/block_id.cpp b/host/lib/rfnoc/block_id.cpp
index db7ddb032..e4dc1832f 100644
--- a/host/lib/rfnoc/block_id.cpp
+++ b/host/lib/rfnoc/block_id.cpp
@@ -1,6 +1,7 @@
//
// Copyright 2014 Ettus Research LLC
// Copyright 2018 Ettus Research, a National Instruments Company
+// Copyright 2019 Ettus Research, A National Instruments Brand
//
// SPDX-License-Identifier: GPL-3.0-or-later
//
@@ -74,7 +75,7 @@ bool block_id_t::match(const std::string& block_str)
and (matches[3] == ""
or boost::lexical_cast<size_t>(matches[3]) == _block_ctr)
and not(matches[1] == "" and matches[2] == "" and matches[3] == "");
- } catch (const std::bad_cast& e) {
+ } catch (const std::bad_cast&) {
return false;
}
return false;