Open QiAnXinCodeSafe opened 3 years ago
There is no need for a break statement in the case block in golang.
https://github.com/google/novm/blob/278237d9ebcaea19695a08151e64555e634442f3/src/novmm/machine/virtio_console.go#L95-L143 https://github.com/google/novm/blob/278237d9ebcaea19695a08151e64555e634442f3/src/novmm/machine/virtio_block.go#L74-L115
There is no need for a break statement in the case block in golang.
https://github.com/google/novm/blob/278237d9ebcaea19695a08151e64555e634442f3/src/novmm/machine/virtio_console.go#L95-L143 https://github.com/google/novm/blob/278237d9ebcaea19695a08151e64555e634442f3/src/novmm/machine/virtio_block.go#L74-L115