aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/octoclock_burn_eeprom.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'host/utils/octoclock_burn_eeprom.cpp')
-rw-r--r--host/utils/octoclock_burn_eeprom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/octoclock_burn_eeprom.cpp b/host/utils/octoclock_burn_eeprom.cpp
index 6221c4e83..1e8341e13 100644
--- a/host/utils/octoclock_burn_eeprom.cpp
+++ b/host/utils/octoclock_burn_eeprom.cpp
@@ -82,7 +82,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[])
if (!vm.count("read-all")) {
std::cout << std::endl;
for (size_t i = 0; i < vals_vec.size(); i++) {
- if (vals_vec[i] != "") {
+ if (!vals_vec[i].empty()) {
oc_eeprom[keys_vec[i]] = vals_vec[i];
std::cout << boost::format("Setting EEPROM [\"%s\"] to \"%s\"...")
% keys_vec[i] % vals_vec[i]