Fossil SCM
Fix a compiler warning.
Commit
c543079b87ce4b6cd3f5f963ce0ef4cce49fe145
Parent
c060947196baef2…
1 file changed
+1
-1
+1
-1
| --- src/diffcmd.c | ||
| +++ src/diffcmd.c | ||
| @@ -1005,11 +1005,11 @@ | ||
| 1005 | 1005 | ** (3) Delete the temp file. |
| 1006 | 1006 | */ |
| 1007 | 1007 | void diff_tk(const char *zSubCmd, int firstArg){ |
| 1008 | 1008 | int i; |
| 1009 | 1009 | Blob script; |
| 1010 | - char *zTempFile = 0; | |
| 1010 | + const char *zTempFile = 0; | |
| 1011 | 1011 | char *zCmd; |
| 1012 | 1012 | blob_zero(&script); |
| 1013 | 1013 | blob_appendf(&script, "set fossilcmd {| \"%/\" %s --html -y -i -v", |
| 1014 | 1014 | g.nameOfExe, zSubCmd); |
| 1015 | 1015 | find_option("html",0,0); |
| 1016 | 1016 |
| --- src/diffcmd.c | |
| +++ src/diffcmd.c | |
| @@ -1005,11 +1005,11 @@ | |
| 1005 | ** (3) Delete the temp file. |
| 1006 | */ |
| 1007 | void diff_tk(const char *zSubCmd, int firstArg){ |
| 1008 | int i; |
| 1009 | Blob script; |
| 1010 | char *zTempFile = 0; |
| 1011 | char *zCmd; |
| 1012 | blob_zero(&script); |
| 1013 | blob_appendf(&script, "set fossilcmd {| \"%/\" %s --html -y -i -v", |
| 1014 | g.nameOfExe, zSubCmd); |
| 1015 | find_option("html",0,0); |
| 1016 |
| --- src/diffcmd.c | |
| +++ src/diffcmd.c | |
| @@ -1005,11 +1005,11 @@ | |
| 1005 | ** (3) Delete the temp file. |
| 1006 | */ |
| 1007 | void diff_tk(const char *zSubCmd, int firstArg){ |
| 1008 | int i; |
| 1009 | Blob script; |
| 1010 | const char *zTempFile = 0; |
| 1011 | char *zCmd; |
| 1012 | blob_zero(&script); |
| 1013 | blob_appendf(&script, "set fossilcmd {| \"%/\" %s --html -y -i -v", |
| 1014 | g.nameOfExe, zSubCmd); |
| 1015 | find_option("html",0,0); |
| 1016 |