(int x, int y)
| 22 | } |
| 23 | |
| 24 | int choose2(int x, int y) { |
| 25 | int a = 0; |
| 26 | switch (x) { |
| 27 | case 1: |
| 28 | a -= y; |
| 29 | break; |
| 30 | case 2: |
| 31 | a += y; |
| 32 | case 3: |
| 33 | a *= y; |
| 34 | case 4: |
| 35 | a /= y; |
| 36 | break; |
| 37 | default: |
| 38 | a = a - 1; |
| 39 | } |
| 40 | a = a + x; |
| 41 | return a; |
| 42 | } |
| 43 | } |
nothing calls this directly
no outgoing calls
no test coverage detected