Fossil SCM
Fix harmless compiler warnings.
Commit
feef827504c77422610a8cf7bd32b6921c1b19f668e5df7fdbf76a85dd7a0689
Parent
928b023cb7d101b…
2 files changed
-1
-1
-1
| --- src/update.c | ||
| +++ src/update.c | ||
| @@ -933,11 +933,10 @@ | ||
| 933 | 933 | /* Ignore this file */ |
| 934 | 934 | }else{ |
| 935 | 935 | sqlite3_int64 mtime; |
| 936 | 936 | int rvChnged = 0; |
| 937 | 937 | int rvPerm = manifest_file_mperm(pRvFile); |
| 938 | - int n; | |
| 939 | 938 | |
| 940 | 939 | /* Determine if reverted-to file is different than checked out file. */ |
| 941 | 940 | if( pCoManifest && (pCoFile = manifest_file_find(pCoManifest, zFile)) ){ |
| 942 | 941 | rvChnged = manifest_file_mperm(pRvFile)!=rvPerm |
| 943 | 942 | || fossil_strcmp(pRvFile->zUuid, pCoFile->zUuid)!=0; |
| 944 | 943 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -933,11 +933,10 @@ | |
| 933 | /* Ignore this file */ |
| 934 | }else{ |
| 935 | sqlite3_int64 mtime; |
| 936 | int rvChnged = 0; |
| 937 | int rvPerm = manifest_file_mperm(pRvFile); |
| 938 | int n; |
| 939 | |
| 940 | /* Determine if reverted-to file is different than checked out file. */ |
| 941 | if( pCoManifest && (pCoFile = manifest_file_find(pCoManifest, zFile)) ){ |
| 942 | rvChnged = manifest_file_mperm(pRvFile)!=rvPerm |
| 943 | || fossil_strcmp(pRvFile->zUuid, pCoFile->zUuid)!=0; |
| 944 |
| --- src/update.c | |
| +++ src/update.c | |
| @@ -933,11 +933,10 @@ | |
| 933 | /* Ignore this file */ |
| 934 | }else{ |
| 935 | sqlite3_int64 mtime; |
| 936 | int rvChnged = 0; |
| 937 | int rvPerm = manifest_file_mperm(pRvFile); |
| 938 | |
| 939 | /* Determine if reverted-to file is different than checked out file. */ |
| 940 | if( pCoManifest && (pCoFile = manifest_file_find(pCoManifest, zFile)) ){ |
| 941 | rvChnged = manifest_file_mperm(pRvFile)!=rvPerm |
| 942 | || fossil_strcmp(pRvFile->zUuid, pCoFile->zUuid)!=0; |
| 943 |
-1
| --- src/vfile.c | ||
| +++ src/vfile.c | ||
| @@ -307,11 +307,10 @@ | ||
| 307 | 307 | g.zLocalRoot, id); |
| 308 | 308 | } |
| 309 | 309 | while( db_step(&q)==SQLITE_ROW ){ |
| 310 | 310 | int id, rid, isExe, isLink; |
| 311 | 311 | const char *zName; |
| 312 | - int n; | |
| 313 | 312 | |
| 314 | 313 | id = db_column_int(&q, 0); |
| 315 | 314 | zName = db_column_text(&q, 1); |
| 316 | 315 | rid = db_column_int(&q, 2); |
| 317 | 316 | isExe = db_column_int(&q, 3); |
| 318 | 317 |
| --- src/vfile.c | |
| +++ src/vfile.c | |
| @@ -307,11 +307,10 @@ | |
| 307 | g.zLocalRoot, id); |
| 308 | } |
| 309 | while( db_step(&q)==SQLITE_ROW ){ |
| 310 | int id, rid, isExe, isLink; |
| 311 | const char *zName; |
| 312 | int n; |
| 313 | |
| 314 | id = db_column_int(&q, 0); |
| 315 | zName = db_column_text(&q, 1); |
| 316 | rid = db_column_int(&q, 2); |
| 317 | isExe = db_column_int(&q, 3); |
| 318 |
| --- src/vfile.c | |
| +++ src/vfile.c | |
| @@ -307,11 +307,10 @@ | |
| 307 | g.zLocalRoot, id); |
| 308 | } |
| 309 | while( db_step(&q)==SQLITE_ROW ){ |
| 310 | int id, rid, isExe, isLink; |
| 311 | const char *zName; |
| 312 | |
| 313 | id = db_column_int(&q, 0); |
| 314 | zName = db_column_text(&q, 1); |
| 315 | rid = db_column_int(&q, 2); |
| 316 | isExe = db_column_int(&q, 3); |
| 317 |