You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Language/Structure/Control Structure/switchCase.adoc
+1-1
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ Nothing
55
55
[float]
56
56
=== Note
57
57
58
-
If you need to declare one, or more, variables in a case you need to use curly brackets {} to define the scope specific to that case statement and define your variable within it.
58
+
If you need to declare a variable in a case, use curly brackets {} to define a scope within the case statement to avoid a "crosses initialization of" compiler error.
0 commit comments