Fossil SCM
Fix an out-of-order local variable declaration in vfile.c.
Commit
1a6a154a4eb53bbe064d2915b942783076ba52d8
Parent
f5acf22b24b3f2d…
1 file changed
+1
-1
+1
-1
| --- src/vfile.c | ||
| +++ src/vfile.c | ||
| @@ -181,12 +181,12 @@ | ||
| 181 | 181 | chnged = oldChnged; |
| 182 | 182 | }else if( rid==0 ){ |
| 183 | 183 | chnged = 1; |
| 184 | 184 | } |
| 185 | 185 | if( chnged!=1 ){ |
| 186 | - currentMtime = file_mtime(0); | |
| 187 | 186 | i64 origSize = db_column_int64(&q, 6); |
| 187 | + currentMtime = file_mtime(0); | |
| 188 | 188 | if( origSize!=file_size(0) ){ |
| 189 | 189 | /* A file size change is definitive - the file has changed. No |
| 190 | 190 | ** need to check the sha1sum */ |
| 191 | 191 | chnged = 1; |
| 192 | 192 | } |
| 193 | 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 | 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 |