Remove default: usage to ensure compiler can help with missing cases
Reviewed By: gkassabli Differential Revision: D4036440 fbshipit-source-id: f5ef4c8afff0f353de50681ad304878f90255fef
This commit is contained in:
parent
02fc4c8ffa
commit
4d0b3e684a
|
@ -1680,7 +1680,7 @@ static void layoutNodeImpl(const CSSNodeRef node,
|
|||
betweenMainDim = remainingFreeSpace / itemsOnLine;
|
||||
leadingMainDim = betweenMainDim / 2;
|
||||
break;
|
||||
default:
|
||||
case CSSJustifyFlexStart:
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -1915,7 +1915,7 @@ static void layoutNodeImpl(const CSSNodeRef node,
|
|||
// (auto) crossAxis dimension.
|
||||
break;
|
||||
}
|
||||
default:
|
||||
case CSSAlignAuto:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue