diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | src/core/hle/service/nvflinger/graphic_buffer_producer.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 3ad2c0950..9182dbfd4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt | |||
| @@ -65,12 +65,14 @@ if (MSVC) | |||
| 65 | /we4305 # 'context': truncation from 'type1' to 'type2' | 65 | /we4305 # 'context': truncation from 'type1' to 'type2' |
| 66 | /we4388 # 'expression': signed/unsigned mismatch | 66 | /we4388 # 'expression': signed/unsigned mismatch |
| 67 | /we4389 # 'operator': signed/unsigned mismatch | 67 | /we4389 # 'operator': signed/unsigned mismatch |
| 68 | /we4505 # 'function': unreferenced local function has been removed | ||
| 68 | /we4547 # 'operator': operator before comma has no effect; expected operator with side-effect | 69 | /we4547 # 'operator': operator before comma has no effect; expected operator with side-effect |
| 69 | /we4549 # 'operator1': operator before comma has no effect; did you intend 'operator2'? | 70 | /we4549 # 'operator1': operator before comma has no effect; did you intend 'operator2'? |
| 70 | /we4555 # Expression has no effect; expected expression with side-effect | 71 | /we4555 # Expression has no effect; expected expression with side-effect |
| 71 | /we4715 # 'function': not all control paths return a value | 72 | /we4715 # 'function': not all control paths return a value |
| 72 | /we4834 # Discarding return value of function with 'nodiscard' attribute | 73 | /we4834 # Discarding return value of function with 'nodiscard' attribute |
| 73 | /we5038 # data member 'member1' will be initialized after data member 'member2' | 74 | /we5038 # data member 'member1' will be initialized after data member 'member2' |
| 75 | /we5245 # 'function': unreferenced function with internal linkage has been removed | ||
| 74 | ) | 76 | ) |
| 75 | 77 | ||
| 76 | if (ARCHITECTURE_x86_64) | 78 | if (ARCHITECTURE_x86_64) |
diff --git a/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp b/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp index d4da98ddb..04068827e 100644 --- a/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp +++ b/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp | |||
| @@ -4,8 +4,6 @@ | |||
| 4 | // Parts of this implementation were base on: | 4 | // Parts of this implementation were base on: |
| 5 | // https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/libs/gui/IGraphicBufferProducer.cpp | 5 | // https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/libs/gui/IGraphicBufferProducer.cpp |
| 6 | 6 | ||
| 7 | #pragma once | ||
| 8 | |||
| 9 | #include "core/hle/service/nvflinger/graphic_buffer_producer.h" | 7 | #include "core/hle/service/nvflinger/graphic_buffer_producer.h" |
| 10 | #include "core/hle/service/nvflinger/parcel.h" | 8 | #include "core/hle/service/nvflinger/parcel.h" |
| 11 | 9 | ||