Remove default: usage to ensure compiler can help with missing cases
Summary: If we ever add more cases to an enum the compiler would not complain if we used default. Reviewed By: gkassabli Differential Revision: D4036440 fbshipit-source-id: f5ef4c8afff0f353de50681ad304878f90255fef
This commit is contained in:
committed by
Facebook Github Bot
parent
82dafa75cf
commit
9fb1b29f14
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user