summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMat M <mathew1800@gmail.com>2021-05-17 19:20:58 +0200
committerGitHub <noreply@github.com>2021-05-17 19:20:58 +0200
commitb462618ed771ad76283781fa5b7368a2ab64e539 (patch)
tree16321a1d4104e20d95cee6186009e0743b11ed99
parentMerge pull request #6327 from Morph1984/duplicate_labels (diff)
parentCMakeLists: Enforce C4715 on MSVC (diff)
downloadyuzu-b462618ed771ad76283781fa5b7368a2ab64e539.tar
yuzu-b462618ed771ad76283781fa5b7368a2ab64e539.tar.gz
yuzu-b462618ed771ad76283781fa5b7368a2ab64e539.tar.bz2
yuzu-b462618ed771ad76283781fa5b7368a2ab64e539.tar.lz
yuzu-b462618ed771ad76283781fa5b7368a2ab64e539.tar.xz
yuzu-b462618ed771ad76283781fa5b7368a2ab64e539.tar.zst
yuzu-b462618ed771ad76283781fa5b7368a2ab64e539.zip
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 8bd7e5f72..f30dd49a3 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -54,6 +54,7 @@ if (MSVC)
/we4547 # 'operator' : operator before comma has no effect; expected operator with side-effect
/we4549 # 'operator1': operator before comma has no effect; did you intend 'operator2'?
/we4555 # Expression has no effect; expected expression with side-effect
+ /we4715 # 'function': not all control paths return a value
/we4834 # Discarding return value of function with 'nodiscard' attribute
/we5038 # data member 'member1' will be initialized after data member 'member2'
)