diff options
author | liguang <lig.fnst@cn.fujitsu.com> | 2013-01-15 08:24:02 +0100 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-01-15 09:23:25 +0100 |
commit | 1cc21a180b9ea9204e99ad5c58604cb458e572a9 (patch) | |
tree | 397a4db4eb4905de4d7379c71b29b34f6190a3f1 /qga | |
parent | 5902564ac983d67d7d898356971698b50b8f0b91 (diff) |
target-i386: Avoid goto in hw_breakpoint_insert()
"Go To Statement Considered Harmful" -- E. Dijkstra
To avoid an unnecessary goto within the switch statement, move
watchpoint insertion out of the switch statement. Improves readability.
While at it, fix Coding Style issues (missing braces, indentation).
Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'qga')
0 files changed, 0 insertions, 0 deletions