Fix gcc 10.2 error messages.

This commit is contained in:
phdussud
2020-12-12 15:48:45 -08:00
parent 922d3b0b56
commit a11ec92a25
10 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ FTDIpp_MPSSE::FTDIpp_MPSSE(const mpsse_bit_config &cable, const string &dev,
_interface(cable.interface),
_clkHZ(clkHZ), _buffer_size(2*32768), _num(0)
{
sprintf(_product, "");
strcpy(_product, "");
if (!dev.empty()) {
if (!search_with_dev(dev)) {
cerr << "No cable found" << endl;