From e4792b00c88103bba9239bb5cabb10b95c4ae531 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Fri, 4 Mar 2016 10:32:32 -0800 Subject: Fixed minor warnings: * nirio_driver_iface_win: labeled unused variable for MinGW builds * b200_impl: fixed unreferenced variable warning * n200_image_loader: fixed signed vs. unsigned comparison --- host/lib/transport/nirio/nirio_driver_iface_win.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'host/lib/transport/nirio/nirio_driver_iface_win.cpp') diff --git a/host/lib/transport/nirio/nirio_driver_iface_win.cpp b/host/lib/transport/nirio/nirio_driver_iface_win.cpp index 717923176..c8484e953 100644 --- a/host/lib/transport/nirio/nirio_driver_iface_win.cpp +++ b/host/lib/transport/nirio/nirio_driver_iface_win.cpp @@ -1,5 +1,5 @@ // -// Copyright 2013,2015 Ettus Research LLC +// Copyright 2013,2015-2016 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -66,7 +66,7 @@ nirio_status rio_ioctl( read_buf, static_cast(read_buf_len), &outLen, &zeroedOverlapped ))) { - int_fast32_t lastError = GetLastError(); + UHD_UNUSED(int_fast32_t lastError) = GetLastError(); return NiRio_Status_SoftwareFault; } -- cgit v1.2.3