aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/fx2_init_eeprom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/utils/fx2_init_eeprom.cpp')
-rw-r--r--host/utils/fx2_init_eeprom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/fx2_init_eeprom.cpp b/host/utils/fx2_init_eeprom.cpp
index e375b27f5..3ddc62c41 100644
--- a/host/utils/fx2_init_eeprom.cpp
+++ b/host/utils/fx2_init_eeprom.cpp
@@ -130,7 +130,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[])
uhd::device_addrs_t found_addrs = uhd::device::find(device_addr, uhd::device::USRP);
- if (found_addrs.size() == 0) {
+ if (found_addrs.empty()) {
std::cerr << "No USRP devices found" << std::endl;
return EXIT_FAILURE;
}