msvcrt/tests: remove unused assignments (LLVM/Clang)
Austin English
austinenglish at gmail.com
Mon Jul 25 20:48:44 CDT 2011
--
-Austin
-------------- next part --------------
diff --git a/dlls/msvcrt/tests/file.c b/dlls/msvcrt/tests/file.c
index 0231f72..ec6fd38 100644
--- a/dlls/msvcrt/tests/file.c
+++ b/dlls/msvcrt/tests/file.c
@@ -357,25 +357,25 @@ static void test_asciimode(void)
fclose(fp);
fp = fopen("ascii.tst", "r");
- c= fgetc(fp);
- c= fgetc(fp);
+ fgetc(fp);
+ fgetc(fp);
fseek(fp,0,SEEK_CUR);
for(i=1; i<10; i++) {
ok((j = ftell(fp)) == i*3, "ftell fails in TEXT mode\n");
fseek(fp,0,SEEK_CUR);
ok((c = fgetc(fp)) == '0'+ i, "fgetc after fseek failed in line %d\n", i);
- c= fgetc(fp);
+ fgetc(fp);
}
/* Show that fseek doesn't skip \\r !*/
rewind(fp);
- c= fgetc(fp);
+ fgetc(fp);
fseek(fp, 2 ,SEEK_CUR);
for(i=1; i<10; i++) {
ok((c = fgetc(fp)) == '0'+ i, "fgetc after fseek with pos Offset failed in line %d\n", i);
fseek(fp, 2 ,SEEK_CUR);
}
fseek(fp, 9*3 ,SEEK_SET);
- c = fgetc(fp);
+ fgetc(fp);
fseek(fp, -4 ,SEEK_CUR);
for(i= 8; i>=0; i--) {
ok((c = fgetc(fp)) == '0'+ i, "fgetc after fseek with neg Offset failed in line %d\n", i);
More information about the wine-patches
mailing list