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