summary refs log tree commit diff stats
path: root/hw/qdev-addr.c
diff options
context:
space:
mode:
authorliguang <lig.fnst@cn.fujitsu.com>2013-01-15 08:24:02 +0100
committerAndreas Färber <afaerber@suse.de>2013-01-15 09:23:25 +0100
commit1cc21a180b9ea9204e99ad5c58604cb458e572a9 (patch)
tree397a4db4eb4905de4d7379c71b29b34f6190a3f1 /hw/qdev-addr.c
parent5902564ac983d67d7d898356971698b50b8f0b91 (diff)
downloadfocaccia-qemu-1cc21a180b9ea9204e99ad5c58604cb458e572a9.tar.gz
focaccia-qemu-1cc21a180b9ea9204e99ad5c58604cb458e572a9.zip
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 'hw/qdev-addr.c')
0 files changed, 0 insertions, 0 deletions