Fossil SCM

Fix an out-of-order local variable declaration in vfile.c.

drh 2010-12-30 16:48 trunk
Commit 1a6a154a4eb53bbe064d2915b942783076ba52d8
1 file changed +1 -1
+1 -1
--- src/vfile.c
+++ src/vfile.c
@@ -181,12 +181,12 @@
181181
chnged = oldChnged;
182182
}else if( rid==0 ){
183183
chnged = 1;
184184
}
185185
if( chnged!=1 ){
186
- currentMtime = file_mtime(0);
187186
i64 origSize = db_column_int64(&q, 6);
187
+ currentMtime = file_mtime(0);
188188
if( origSize!=file_size(0) ){
189189
/* A file size change is definitive - the file has changed. No
190190
** need to check the sha1sum */
191191
chnged = 1;
192192
}
193193
--- src/vfile.c
+++ src/vfile.c
@@ -181,12 +181,12 @@
181 chnged = oldChnged;
182 }else if( rid==0 ){
183 chnged = 1;
184 }
185 if( chnged!=1 ){
186 currentMtime = file_mtime(0);
187 i64 origSize = db_column_int64(&q, 6);
 
188 if( origSize!=file_size(0) ){
189 /* A file size change is definitive - the file has changed. No
190 ** need to check the sha1sum */
191 chnged = 1;
192 }
193
--- src/vfile.c
+++ src/vfile.c
@@ -181,12 +181,12 @@
181 chnged = oldChnged;
182 }else if( rid==0 ){
183 chnged = 1;
184 }
185 if( chnged!=1 ){
 
186 i64 origSize = db_column_int64(&q, 6);
187 currentMtime = file_mtime(0);
188 if( origSize!=file_size(0) ){
189 /* A file size change is definitive - the file has changed. No
190 ** need to check the sha1sum */
191 chnged = 1;
192 }
193

Keyboard Shortcuts

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