projects
/
platform
/
upstream
/
VK-GL-CTS.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
82c07cf
)
Remove self assignment statement
author
Yi Kong
<yikong@google.com>
Fri, 21 Sep 2018 08:03:53 +0000
(
01:03
-0700)
committer
Yi Kong
<yikong@google.com>
Thu, 27 Sep 2018 00:01:13 +0000
(17:01 -0700)
This is redundant. Fixes "-Wself-assign-overloaded" warning.
Test: m
Bug:
110779387
Change-Id: Iefa1c580e062ba61c58a4b6073ddda1111a02c9b
framework/referencerenderer/rrFragmentOperations.cpp
patch
|
blob
|
history
diff --git
a/framework/referencerenderer/rrFragmentOperations.cpp
b/framework/referencerenderer/rrFragmentOperations.cpp
index
d0fb3c3
..
c42af7f
100644
(file)
--- a/
framework/referencerenderer/rrFragmentOperations.cpp
+++ b/
framework/referencerenderer/rrFragmentOperations.cpp
@@
-545,8
+545,6
@@
Vec3 setLumSat (const Vec3& cbase, const Vec3& csat, const Vec3& clum)
if (sbase > 0.0f)
color = (cbase - minbase) * ssat / sbase;
- else
- color = color;
return setLum(color, clum);
}