mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
static analysis: duplicate assignment
This commit is contained in:
parent
172db0444a
commit
f4c4163d98
1 changed files with 6 additions and 6 deletions
|
@ -500,10 +500,10 @@ namespace rsx
|
|||
{
|
||||
if (clip_x >= parent_width)
|
||||
{
|
||||
if (clip_width < parent_width)
|
||||
width = clip_width;
|
||||
else
|
||||
if (clip_width >= parent_width)
|
||||
width = parent_width;
|
||||
//else
|
||||
// width = clip_width; // Already initialized with clip_width
|
||||
|
||||
x = static_cast<T>(0);
|
||||
}
|
||||
|
@ -520,10 +520,10 @@ namespace rsx
|
|||
{
|
||||
if (clip_y >= parent_height)
|
||||
{
|
||||
if (clip_height < parent_height)
|
||||
height = clip_height;
|
||||
else
|
||||
if (clip_height >= parent_height)
|
||||
height = parent_height;
|
||||
//else
|
||||
// height = clip_height; // Already initialized with clip_height
|
||||
|
||||
y = static_cast<T>(0);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue