compilation warning

untitled.c:70:9: warning: enumeration value 'OK' not handled in switch
      [-Wswitch]
        switch(err) {