vnc: Add break statement

This was not a bug, but it is not common practice to omit the break statement
from the last case statement before an empty default case.

Any change of the default case would introduce a bug.

This was reported as a warning by splint.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
This commit is contained in:
Stefan Weil 2012-02-25 14:57:03 +01:00 committed by Stefan Hajnoczi
parent ba79c88604
commit 0ea5c0cdb0

View File

@ -175,6 +175,7 @@ static void CONCAT(send_hextile_tile_, NAME)(VncState *vs,
/* we really don't have to invalidate either the bg or fg /* we really don't have to invalidate either the bg or fg
but we've lost the old values. oh well. */ but we've lost the old values. oh well. */
} }
break;
default: default:
break; break;
} }