Remove useless store in CSSLayout.c
Summary: Pointed out by the Xcode analyzer Reviewed By: emilsjolander Differential Revision: D4159938 fbshipit-source-id: 8b9ff3896c0e222e8e89546881129214bc6ba566
This commit is contained in:
committed by
Facebook Github Bot
parent
087d1f3a82
commit
f222d22ba8
@@ -1939,12 +1939,10 @@ static void layoutNodeImpl(const CSSNodeRef node,
|
||||
|
||||
if (!CSSValueIsUndefined(child->style.maxDimensions[CSSDimensionWidth])) {
|
||||
childWidth = child->style.maxDimensions[CSSDimensionWidth];
|
||||
childWidthMeasureMode = CSSMeasureModeAtMost;
|
||||
}
|
||||
|
||||
if (!CSSValueIsUndefined(child->style.maxDimensions[CSSDimensionHeight])) {
|
||||
childHeight = child->style.maxDimensions[CSSDimensionHeight];
|
||||
childHeightMeasureMode = CSSMeasureModeAtMost;
|
||||
}
|
||||
|
||||
// If the child defines a definite size for its cross axis, there's
|
||||
|
Reference in New Issue
Block a user