Ticket Created
over 3 years ago

CIQQA-733

multiply case and variable v may not have been initialized error

this code 1A

...

case a1:

//here there is nothing I want to have one code for a1 & a2

//case a2:

...

break;

and  this 1B

..

//case a1:

//here there is nothing I want to have one code for a1 & a2

case a2:

...

break;

no compilation errors

but this code 2

..

case a1:

//here there is nothing I want to have one code for a1 & a2

case a2:

...

break;

generates compilation error "variable v may not have been initialized" but if first is good (all variables initialised) second has to be good too because code 1 there is in 2

sdk 4.0.6
eclipse CIQ plug in: 4.1.0.beta1
eclipse ver: 2021-09 (4.21.0) Build id: 20210910-1417
windows 10
java jre1.8.0_311
watch face
minSdkVersion 2.4.0