tools: Remove unreachable break after return/break. Found by Smatch.
Michael Stefaniuc
mstefani at redhat.de
Wed Jul 18 18:13:24 CDT 2007
---
tools/winedump/msc.c | 1 -
tools/winedump/msmangle.c | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/tools/winedump/msc.c b/tools/winedump/msc.c
index e7e1100..42878f2 100644
--- a/tools/winedump/msc.c
+++ b/tools/winedump/msc.c
@@ -501,7 +501,6 @@ static void do_field(const unsigned char* start, const unsigned char* end)
default:
printf(">>> Unsupported field-id %x\n", fieldtype->generic.id);
dump_data((const void*)fieldtype, 0x30, "\t");
- return;
break;
}
}
diff --git a/tools/winedump/msmangle.c b/tools/winedump/msmangle.c
index fc3f12b..d9d99ef 100644
--- a/tools/winedump/msmangle.c
+++ b/tools/winedump/msmangle.c
@@ -228,7 +228,6 @@ int symbol_demangle (parsed_symbol *sym)
FREE_CT (ct);
free (function_name);
return 0;
- break;
case '6' : /* compiler generated static */
case '7' : /* compiler generated static */
@@ -247,7 +246,6 @@ int symbol_demangle (parsed_symbol *sym)
}
free (function_name);
return -1;
- break;
/* Functions */
--
1.5.2.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20070719/60efedce/attachment.pgp
More information about the wine-patches
mailing list