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:
Emil Sjolander 2016-10-18 06:52:08 -07:00 committed by Facebook Github Bot
parent 02fc4c8ffa
commit 4d0b3e684a
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}