mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Merge pull request #15364 from unknownbrackets/warnings
Cleanup a few warnings
This commit is contained in:
commit
8dd059936e
4 changed files with 6 additions and 3 deletions
|
@ -187,6 +187,10 @@ void GameScreen::CreateViews() {
|
|||
case IdentifiedFileType::PSP_ISO_NP:
|
||||
case IdentifiedFileType::PSP_ISO:
|
||||
fileTypeSupportCRC = true;
|
||||
break;
|
||||
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1680,7 +1680,7 @@ UI::EventReturn GameSettingsScreen::OnSysInfo(UI::EventParams &e) {
|
|||
UI::EventReturn GameSettingsScreen::OnChangeSearchFilter(UI::EventParams &e) {
|
||||
#if PPSSPP_PLATFORM(WINDOWS) || defined(USING_QT_UI) || defined(__ANDROID__)
|
||||
auto se = GetI18NCategory("Search");
|
||||
System_InputBoxGetString(se->T("Search term"), searchFilter_, [this](bool result, const std::string &value) {
|
||||
System_InputBoxGetString(se->T("Search term"), searchFilter_, [](bool result, const std::string &value) {
|
||||
if (result) {
|
||||
NativeMessageReceived("gameSettings_search", StripSpaces(value).c_str());
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
LOCAL_CFLAGS := -DUSE_FFMPEG -DWITH_UPNP -DUSING_GLES2 -DMOBILE_DEVICE -O3 -fsigned-char -Wall -Wno-multichar -Wno-unused-variable -fno-strict-aliasing -D__STDC_CONSTANT_MACROS -Wno-format -DSPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS
|
||||
# yes, it's really CPPFLAGS for C++
|
||||
# deprecated-register is generated by Android default code and causes noise.
|
||||
LOCAL_CPPFLAGS := -fno-exceptions -std=gnu++11 -fno-rtti -Wno-reorder -Wno-format -Wno-deprecated-register
|
||||
LOCAL_CPPFLAGS := -fno-exceptions -std=gnu++11 -fno-rtti -Wno-reorder -Wno-format -Wno-deprecated-register -Wno-nullability-completeness
|
||||
LOCAL_C_INCLUDES := \
|
||||
$(LOCAL_PATH)/../../Common \
|
||||
$(LOCAL_PATH)/../.. \
|
||||
|
|
|
@ -311,7 +311,6 @@ bool TestParsers() {
|
|||
bool TestVFPUSinCos() {
|
||||
float sine, cosine;
|
||||
InitVFPUSinCos();
|
||||
EXPECT_FALSE(vfpu_sincos == nullptr);
|
||||
vfpu_sincos(0.0f, sine, cosine);
|
||||
EXPECT_EQ_FLOAT(sine, 0.0f);
|
||||
EXPECT_EQ_FLOAT(cosine, 1.0f);
|
||||
|
|
Loading…
Add table
Reference in a new issue