diff --git a/src/Cockpit/NavDisplay.cxx b/src/Cockpit/NavDisplay.cxx index d2182eaee..504cf97f5 100644 --- a/src/Cockpit/NavDisplay.cxx +++ b/src/Cockpit/NavDisplay.cxx @@ -183,7 +183,7 @@ private: class SymbolRule { public: - SymbolRule() + SymbolRule() : enabled(false) { } diff --git a/src/Input/FGMacOSXEventInput.cxx b/src/Input/FGMacOSXEventInput.cxx index eaf451108..517322e17 100644 --- a/src/Input/FGMacOSXEventInput.cxx +++ b/src/Input/FGMacOSXEventInput.cxx @@ -229,9 +229,6 @@ void FGMacOSXEventInput::shutdown() { FGEventInput::shutdown(); - IOHIDManagerRegisterDeviceMatchingCallback(d->hidManager, nullptr, nullptr); - IOHIDManagerRegisterDeviceRemovalCallback(d->hidManager, nullptr, nullptr); - IOHIDManagerClose(d->hidManager, kIOHIDOptionsTypeNone); IOHIDManagerUnscheduleFromRunLoop(d->hidManager, CFRunLoopGetCurrent(), kCFRunLoopDefaultMode); CFRelease(d->hidManager);