Resolve some MSVC warnings

This commit is contained in:
Paul Hollinsky
2018-10-04 12:31:26 -04:00
parent d86f15ab4c
commit 7e7a969f28
5 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ public:
std::vector<std::shared_ptr<Device>> found;
for(auto neodevice : PCAP::FindByProduct(PRODUCT_ID)) {
{
{ // Scope created so that we don't have two of the same device at once
strncpy(neodevice.serial, SERIAL_FIND_ON_OPEN, sizeof(neodevice.serial));
neodevice.serial[sizeof(neodevice.serial) - 1] = '\0';
auto device = std::make_shared<NeoVIFIRE2ETH>(neodevice);
@@ -137,7 +137,7 @@ public:
return nullptr;
}
}
CANFD_SETTINGS* getCANFDSettingsFor(Network net) override { return nullptr; }
// CANFD_SETTINGS* getCANFDSettingsFor(Network net) override { return nullptr; }
};
}