pandad: removed the redundant .c_str() call (#32724)

Removed the redundant .c_str() call
old-commit-hash: 8065b454c9
testing-closet^2
Dean Lee 11 months ago committed by GitHub
parent 338a4b6d8f
commit ebd34eff9d
  1. 2
      selfdrive/pandad/panda_comms.cc

@ -120,7 +120,7 @@ std::vector<std::string> PandaUsbHandle::list() {
libusb_close(handle); libusb_close(handle);
if (ret < 0) { goto finish; } if (ret < 0) { goto finish; }
serials.push_back(std::string((char *)desc_serial, ret).c_str()); serials.push_back(std::string((char *)desc_serial, ret));
} }
} }

Loading…
Cancel
Save