Austin English : setupapi/tests: Remove unused variable.
Alexandre Julliard
julliard at winehq.org
Wed Jul 21 10:54:52 CDT 2010
Module: wine
Branch: master
Commit: f7f38c5def12cd36bf0107eb6a6a95a514f2cbcf
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f7f38c5def12cd36bf0107eb6a6a95a514f2cbcf
Author: Austin English <austinenglish at gmail.com>
Date: Wed Jul 21 02:27:18 2010 -0500
setupapi/tests: Remove unused variable.
---
dlls/setupapi/tests/parser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/setupapi/tests/parser.c b/dlls/setupapi/tests/parser.c
index 072ac97..53f7cc0 100644
--- a/dlls/setupapi/tests/parser.c
+++ b/dlls/setupapi/tests/parser.c
@@ -406,7 +406,7 @@ static const char *check_key( INFCONTEXT *context, const char *wanted )
static void test_key_names(void)
{
char buffer[MAX_INF_STRING_LENGTH+32];
- const char *key, *line;
+ const char *line;
unsigned int i, index, count;
UINT err_line;
HINF hinf;
@@ -426,7 +426,7 @@ static void test_key_names(void)
ret = SetupFindFirstLineA( hinf, "Test", 0, &context );
assert( ret );
- key = check_key( &context, key_names[i].key );
+ check_key( &context, key_names[i].key );
buffer[0] = buffer[1] = 0; /* build the full line */
for (index = 0; ; index++)
More information about the wine-cvs
mailing list