Fossil SCM

Fix harmless compiler warnings.

drh 2020-08-19 12:26 sec2020
Commit feef827504c77422610a8cf7bd32b6921c1b19f668e5df7fdbf76a85dd7a0689
2 files changed -1 -1
--- src/update.c
+++ src/update.c
@@ -933,11 +933,10 @@
933933
/* Ignore this file */
934934
}else{
935935
sqlite3_int64 mtime;
936936
int rvChnged = 0;
937937
int rvPerm = manifest_file_mperm(pRvFile);
938
- int n;
939938
940939
/* Determine if reverted-to file is different than checked out file. */
941940
if( pCoManifest && (pCoFile = manifest_file_find(pCoManifest, zFile)) ){
942941
rvChnged = manifest_file_mperm(pRvFile)!=rvPerm
943942
|| fossil_strcmp(pRvFile->zUuid, pCoFile->zUuid)!=0;
944943
--- 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
--- src/vfile.c
+++ src/vfile.c
@@ -307,11 +307,10 @@
307307
g.zLocalRoot, id);
308308
}
309309
while( db_step(&q)==SQLITE_ROW ){
310310
int id, rid, isExe, isLink;
311311
const char *zName;
312
- int n;
313312
314313
id = db_column_int(&q, 0);
315314
zName = db_column_text(&q, 1);
316315
rid = db_column_int(&q, 2);
317316
isExe = db_column_int(&q, 3);
318317
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button