mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-11 10:00:13 +00:00
Fix unreachable code warnings on non-OSX.
This commit is contained in:
parent
36019314e9
commit
c1e255c4fe
@ -133,8 +133,7 @@ public:
|
||||
{
|
||||
#ifndef __WXMAC__
|
||||
return GetAppSettings<T>();
|
||||
#endif
|
||||
|
||||
#else
|
||||
T* ret = nullptr;
|
||||
size_t typeHash = typeid( T ).hash_code();
|
||||
|
||||
@ -162,6 +161,7 @@ public:
|
||||
m_app_settings_cache[typeHash] = ret;
|
||||
|
||||
return ret;
|
||||
#endif
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user