[Spice-devel] bug: inputs_channel_handle_parsed leak of break in switch section

bigclouds bigclouds at 163.com
Sun Jun 16 18:47:08 PDT 2013


hi,all
i think  a break is needed.am i right?
case SPICE_MSGC_INPUTS_KEY_DOWN: {
        SpiceMsgcKeyDown *key_up = (SpiceMsgcKeyDown *)buf;
        if (key_up->code == CAPS_LOCK_SCAN_CODE || key_up->code == NUM_LOCK_SCAN_CODE ||
            key_up->code == SCROLL_LOCK_SCAN_CODE) {
            activate_modifiers_watch();
        }
    }
break??
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130617/d7faa113/attachment.html>


More information about the Spice-devel mailing list