André Hentschel : winebuild: Remove dead code (clang).
Alexandre Julliard
julliard at winehq.org
Mon Jul 4 13:46:05 CDT 2011
Module: wine
Branch: master
Commit: 14ac50c7b785f8b806df4b8e437e6ba94b04d1f9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=14ac50c7b785f8b806df4b8e437e6ba94b04d1f9
Author: André Hentschel <nerv at dawncrow.de>
Date: Sun Jul 3 13:33:33 2011 +0200
winebuild: Remove dead code (clang).
---
tools/winebuild/parser.c | 2 +-
tools/winebuild/res32.c | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/tools/winebuild/parser.c b/tools/winebuild/parser.c
index 705601e..6a1eb85 100644
--- a/tools/winebuild/parser.c
+++ b/tools/winebuild/parser.c
@@ -114,7 +114,7 @@ static int get_next_line(void)
static const char * GetToken( int allow_eol )
{
- char *p = ParseNext;
+ char *p;
char *token = TokenBuffer;
for (;;)
diff --git a/tools/winebuild/res32.c b/tools/winebuild/res32.c
index e3f46ee..729aa2f 100644
--- a/tools/winebuild/res32.c
+++ b/tools/winebuild/res32.c
@@ -188,7 +188,6 @@ static void dump_res_data( const struct resource *res )
size -= 4;
}
output( "0x%08x\n", get_dword() );
- size -= 4;
assert( input_buffer_pos == input_buffer_size );
}
More information about the wine-cvs
mailing list