diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-02-15 16:42:34 -0800 |
---|---|---|
committer | Michael West <michael.west@ettus.com> | 2019-03-05 10:32:24 -0800 |
commit | 91d2ef67d218d6c88ae690e75d4ab2e65b24fe54 (patch) | |
tree | f1946789879a7a0059461ba09059afaae7e58097 /host/lib/rfnoc/nocscript/parser.cpp | |
parent | 76376fc833831eb2584fd306a88d6e32c0043287 (diff) | |
download | uhd-91d2ef67d218d6c88ae690e75d4ab2e65b24fe54.tar.gz uhd-91d2ef67d218d6c88ae690e75d4ab2e65b24fe54.tar.bz2 uhd-91d2ef67d218d6c88ae690e75d4ab2e65b24fe54.zip |
lib: Fix various type-conversion compiler warnings
This makes more type-conversions explicit, to reduce the number of
warnings specifically for MSVC.
Diffstat (limited to 'host/lib/rfnoc/nocscript/parser.cpp')
-rw-r--r-- | host/lib/rfnoc/nocscript/parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/rfnoc/nocscript/parser.cpp b/host/lib/rfnoc/nocscript/parser.cpp index 51a544e47..8ef1b7f44 100644 --- a/host/lib/rfnoc/nocscript/parser.cpp +++ b/host/lib/rfnoc/nocscript/parser.cpp @@ -163,7 +163,7 @@ private: P.expr_stack.top()->set_combiner_safe( expression_container::COMBINE_OR); } - } catch (const uhd::syntax_error& e) { + } catch (const uhd::syntax_error&) { P.error = str(boost::format("Operator %s is mixing operator " "types within this container.") % val); |