commit | 1cc21a180b9ea9204e99ad5c58604cb458e572a9 | [log] [tgz] |
---|---|---|
author | liguang <lig.fnst@cn.fujitsu.com> | Tue Jan 15 08:24:02 2013 +0100 |
committer | Andreas Färber <afaerber@suse.de> | Tue Jan 15 09:23:25 2013 +0100 |
tree | 397a4db4eb4905de4d7379c71b29b34f6190a3f1 | |
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>