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

Removed the redundant .c_str() call
pull/32727/head
Dean Lee 12 months ago committed by GitHub
parent e798caa3e5
commit 8065b454c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      selfdrive/pandad/panda_comms.cc

@ -120,7 +120,7 @@ std::vector<std::string> PandaUsbHandle::list() {
libusb_close(handle);
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