Skip to content
Snippets Groups Projects
Unverified Commit 0dc4ab42 authored by Rodrigo Locatti's avatar Rodrigo Locatti Committed by GitHub
Browse files

Merge pull request #5226 from ReinUsesLisp/c4715-vc

video_core: Enforce C4715 (not all control paths return a value)
parents 453560fb 1e191cc8
No related branches found
No related tags found
No related merge requests found
...@@ -294,6 +294,7 @@ if (MSVC) ...@@ -294,6 +294,7 @@ if (MSVC)
/we4457 # Declaration of 'identifier' hides function parameter /we4457 # Declaration of 'identifier' hides function parameter
/we4458 # Declaration of 'identifier' hides class member /we4458 # Declaration of 'identifier' hides class member
/we4459 # Declaration of 'identifier' hides global declaration /we4459 # Declaration of 'identifier' hides global declaration
/we4715 # 'function' : not all control paths return a value
) )
else() else()
target_compile_options(video_core PRIVATE target_compile_options(video_core PRIVATE
......
...@@ -2094,6 +2094,7 @@ private: ...@@ -2094,6 +2094,7 @@ private:
return OpFOrdGreaterThanEqual(t_bool, operand_1, operand_2); return OpFOrdGreaterThanEqual(t_bool, operand_1, operand_2);
default: default:
UNREACHABLE(); UNREACHABLE();
return v_true;
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment