removing compilation warning explicitly showing enum origin
to avoid confusions even though they have same values. FreeBSD recognised as os in stats point of view.
This commit is contained in:
parent
9085658653
commit
d97a1ce1ef
@ -443,7 +443,7 @@ bool CGUIListBox::OnEvent(const SEvent& event)
|
||||
case EET_LOG_TEXT_EVENT:
|
||||
case EET_USER_EVENT:
|
||||
case EET_JOYSTICK_INPUT_EVENT:
|
||||
case EGUIET_FORCE_32_BIT:
|
||||
case EEVENT_TYPE::EGUIET_FORCE_32_BIT:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
@ -311,6 +311,9 @@ void reportHardwareStats()
|
||||
#if defined(__linux__) && !defined(ANDROID)
|
||||
json.add("os_linux", 1);
|
||||
json.add("os_unix", 1);
|
||||
#elif defined(__FreeBSD__)
|
||||
json.add("os_freebsd", 1);
|
||||
json.add("os_unix", 1);
|
||||
#else
|
||||
json.add("os_linux", 0);
|
||||
json.add("os_unix", 0);
|
||||
|
@ -409,7 +409,7 @@ bool CGUISTKListBox::OnEvent(const SEvent& event)
|
||||
case EET_LOG_TEXT_EVENT:
|
||||
case EET_USER_EVENT:
|
||||
case EET_JOYSTICK_INPUT_EVENT:
|
||||
case EGUIET_FORCE_32_BIT:
|
||||
case EEVENT_TYPE::EGUIET_FORCE_32_BIT:
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user