diff options
Diffstat (limited to 'host/utils/usrp_burn_mb_eeprom.cpp')
-rw-r--r-- | host/utils/usrp_burn_mb_eeprom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/usrp_burn_mb_eeprom.cpp b/host/utils/usrp_burn_mb_eeprom.cpp index 18e8b367b..c0ff18309 100644 --- a/host/utils/usrp_burn_mb_eeprom.cpp +++ b/host/utils/usrp_burn_mb_eeprom.cpp @@ -85,7 +85,7 @@ int UHD_SAFE_MAIN(int argc, char* argv[]) if (not vals_vec.empty()) { mb_eeprom = uhd::usrp::mboard_eeprom_t(); for (size_t i = 0; i < vals_vec.size(); i++) { - if (vals_vec[i] != "") { + if (!vals_vec[i].empty()) { mb_eeprom[keys_vec[i]] = vals_vec[i]; std::cout << boost::format("Setting EEPROM [\"%s\"] to \"%s\"...") % keys_vec[i] % vals_vec[i] |