Fossil SCM
Fix a harmless compiler warning.
Commit
2332efb74a214db22d59845dc519b1261816ce750a9ab34b7a3b28981640cb4a
Parent
38165f3764caa8e…
1 file changed
+1
-1
+1
-1
| --- src/file.c | ||
| +++ src/file.c | ||
| @@ -1496,11 +1496,11 @@ | ||
| 1496 | 1496 | ** Generate temporary filenames derived from BASENAME. Use the --time |
| 1497 | 1497 | ** option to generate temp names based on the time of day. |
| 1498 | 1498 | */ |
| 1499 | 1499 | void file_test_tempname(void){ |
| 1500 | 1500 | int i; |
| 1501 | - char *zSuffix = find_option("time",0,1); | |
| 1501 | + const char *zSuffix = find_option("time",0,1); | |
| 1502 | 1502 | Blob x = BLOB_INITIALIZER; |
| 1503 | 1503 | char *z; |
| 1504 | 1504 | verify_all_options(); |
| 1505 | 1505 | for(i=2; i<g.argc; i++){ |
| 1506 | 1506 | if( zSuffix ){ |
| 1507 | 1507 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -1496,11 +1496,11 @@ | |
| 1496 | ** Generate temporary filenames derived from BASENAME. Use the --time |
| 1497 | ** option to generate temp names based on the time of day. |
| 1498 | */ |
| 1499 | void file_test_tempname(void){ |
| 1500 | int i; |
| 1501 | char *zSuffix = find_option("time",0,1); |
| 1502 | Blob x = BLOB_INITIALIZER; |
| 1503 | char *z; |
| 1504 | verify_all_options(); |
| 1505 | for(i=2; i<g.argc; i++){ |
| 1506 | if( zSuffix ){ |
| 1507 |
| --- src/file.c | |
| +++ src/file.c | |
| @@ -1496,11 +1496,11 @@ | |
| 1496 | ** Generate temporary filenames derived from BASENAME. Use the --time |
| 1497 | ** option to generate temp names based on the time of day. |
| 1498 | */ |
| 1499 | void file_test_tempname(void){ |
| 1500 | int i; |
| 1501 | const char *zSuffix = find_option("time",0,1); |
| 1502 | Blob x = BLOB_INITIALIZER; |
| 1503 | char *z; |
| 1504 | verify_all_options(); |
| 1505 | for(i=2; i<g.argc; i++){ |
| 1506 | if( zSuffix ){ |
| 1507 |