aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2015-03-27 10:55:48 -0700
committerMartin Braun <martin.braun@ettus.com>2015-03-27 13:36:18 -0700
commit715f4dd313656f936e40b6415179b7ab6feda128 (patch)
tree113d50bb315666e3374708d75de4d54bf7177f3a /host/lib/utils
parent88ffeb35dadb3d10593be39c9eae2f90c4d7c008 (diff)
downloaduhd-715f4dd313656f936e40b6415179b7ab6feda128.tar.gz
uhd-715f4dd313656f936e40b6415179b7ab6feda128.tar.bz2
uhd-715f4dd313656f936e40b6415179b7ab6feda128.zip
Fixed master-specific warnings
* MinGW: unused parameter warning, MSVC-specific pragma * MSVC: bool narrowing
Diffstat (limited to 'host/lib/utils')
-rw-r--r--host/lib/utils/thread_priority.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/utils/thread_priority.cpp b/host/lib/utils/thread_priority.cpp
index 7c3faa37a..af25d088a 100644
--- a/host/lib/utils/thread_priority.cpp
+++ b/host/lib/utils/thread_priority.cpp
@@ -74,7 +74,7 @@ static void check_priority_range(float priority){
#ifdef HAVE_WIN_SETTHREADPRIORITY
#include <windows.h>
- void uhd::set_thread_priority(float priority, bool realtime){
+ void uhd::set_thread_priority(float priority, UHD_UNUSED(bool realtime)){
check_priority_range(priority);
/*