API: Legacy: Remove unused variable

pull/35/head
Paul Hollinsky 2021-06-11 12:36:37 -04:00
parent d82a069842
commit 34f7bfabd2
1 changed files with 1 additions and 2 deletions

View File

@ -607,9 +607,8 @@ int LegacyDLLExport icsneoOpenNeoDevice(NeoDevice *pNeoDevice, void **hObject, u
{ {
device = &neodevices.at(uint64_t(pNeoDevice->Handle) << 32 | pNeoDevice->SerialNumber); device = &neodevices.at(uint64_t(pNeoDevice->Handle) << 32 | pNeoDevice->SerialNumber);
} }
catch (std::out_of_range &e) catch (const std::out_of_range&)
{ {
(void)e; // Unused
return false; return false;
} }