Fix uninitialized variable warning
Fix uninitialized variable warning

cli/main.c:607:7: warning: variable 'index' is used uninitialized
whenever switch case
      is taken [-Wsometimes-uninitialized]
              case SWITCHTEC_EVT_GLOBAL:

Microsemi/switchtec-user,Microsemi/switchtec-user