Fossil SCM
Fix a harmless compiler warning.
Commit
95a6a658d40f4d4d7d77a37a68578ec5961ec298a332f3a901cd1e9267376c70
Parent
a3bc6552eea4676…
1 file changed
+1
-1
+1
-1
| --- src/main.c | ||
| +++ src/main.c | ||
| @@ -148,11 +148,11 @@ | ||
| 148 | 148 | unsigned iRepoDataVers; /* Initial data version for repository database */ |
| 149 | 149 | char *zRepositoryOption; /* Most recent cached repository option value */ |
| 150 | 150 | char *zRepositoryName; /* Name of the repository database file */ |
| 151 | 151 | char *zLocalDbName; /* Name of the local database file */ |
| 152 | 152 | char *zOpenRevision; /* Check-in version to use during database open */ |
| 153 | - char *zCmdName; /* Name of the Fossil command currently running */ | |
| 153 | + const char *zCmdName; /* Name of the Fossil command currently running */ | |
| 154 | 154 | int localOpen; /* True if the local database is open */ |
| 155 | 155 | char *zLocalRoot; /* The directory holding the local database */ |
| 156 | 156 | int minPrefix; /* Number of digits needed for a distinct UUID */ |
| 157 | 157 | int eHashPolicy; /* Current hash policy. One of HPOLICY_* */ |
| 158 | 158 | int fSqlTrace; /* True if --sqltrace flag is present */ |
| 159 | 159 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -148,11 +148,11 @@ | |
| 148 | unsigned iRepoDataVers; /* Initial data version for repository database */ |
| 149 | char *zRepositoryOption; /* Most recent cached repository option value */ |
| 150 | char *zRepositoryName; /* Name of the repository database file */ |
| 151 | char *zLocalDbName; /* Name of the local database file */ |
| 152 | char *zOpenRevision; /* Check-in version to use during database open */ |
| 153 | char *zCmdName; /* Name of the Fossil command currently running */ |
| 154 | int localOpen; /* True if the local database is open */ |
| 155 | char *zLocalRoot; /* The directory holding the local database */ |
| 156 | int minPrefix; /* Number of digits needed for a distinct UUID */ |
| 157 | int eHashPolicy; /* Current hash policy. One of HPOLICY_* */ |
| 158 | int fSqlTrace; /* True if --sqltrace flag is present */ |
| 159 |
| --- src/main.c | |
| +++ src/main.c | |
| @@ -148,11 +148,11 @@ | |
| 148 | unsigned iRepoDataVers; /* Initial data version for repository database */ |
| 149 | char *zRepositoryOption; /* Most recent cached repository option value */ |
| 150 | char *zRepositoryName; /* Name of the repository database file */ |
| 151 | char *zLocalDbName; /* Name of the local database file */ |
| 152 | char *zOpenRevision; /* Check-in version to use during database open */ |
| 153 | const char *zCmdName; /* Name of the Fossil command currently running */ |
| 154 | int localOpen; /* True if the local database is open */ |
| 155 | char *zLocalRoot; /* The directory holding the local database */ |
| 156 | int minPrefix; /* Number of digits needed for a distinct UUID */ |
| 157 | int eHashPolicy; /* Current hash policy. One of HPOLICY_* */ |
| 158 | int fSqlTrace; /* True if --sqltrace flag is present */ |
| 159 |