Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix a warning for unused variable 'p' introduced by [487e465263fd21] |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
8895d938e23b05387eb00963f70d68be |
User & Date: | george 2022-02-10 23:30:13 |
Context
2022-02-11
| ||
14:57 | Fix mis-coded HTML on the /setup_access page. ... (check-in: ecab8f43 user: drh tags: trunk) | |
2022-02-10
| ||
23:30 | Fix a warning for unused variable 'p' introduced by [487e465263fd21] ... (check-in: 8895d938 user: george tags: trunk) | |
19:38 | Fix the "fossil remote add NAME URL" command so that it accepts aliases for URL. ... (check-in: c301e293 user: drh tags: trunk) | |
Changes
Changes to tools/mkversion.c.
︙ | ︙ | |||
86 87 88 89 90 91 92 | int main(int argc, char *argv[]){ FILE *m,*u,*v; char *z; #if defined(__DMC__) /* e.g. 0x857 */ int i = 0; #endif | | | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | int main(int argc, char *argv[]){ FILE *m,*u,*v; char *z; #if defined(__DMC__) /* e.g. 0x857 */ int i = 0; #endif int j = 0, x = 0, d = 0; size_t n; int vn[3]; char b[1000]; char vx[1000]; if( argc!=4 ){ fprintf(stderr, "Usage: %s manifest.uuid manifest VERSION\n", argv[0]); exit(1); |
︙ | ︙ | |||
201 202 203 204 205 206 207 | d = (__POCC__ / 100); /* major */ x = (__POCC__ % 100); /* minor */ printf("#define COMPILER_VERSION \"%d.%02d\"\n", d, x); #elif defined(_MSC_VER) /* e.g. 1800 */ /* _MSC_FULL_VER also defined, e.g. 193030709 */ d = (_MSC_VER / 100); /* major */ x = (_MSC_VER % 100); /* minor */ | < | > | 201 202 203 204 205 206 207 208 209 210 211 212 | d = (__POCC__ / 100); /* major */ x = (__POCC__ % 100); /* minor */ printf("#define COMPILER_VERSION \"%d.%02d\"\n", d, x); #elif defined(_MSC_VER) /* e.g. 1800 */ /* _MSC_FULL_VER also defined, e.g. 193030709 */ d = (_MSC_VER / 100); /* major */ x = (_MSC_VER % 100); /* minor */ printf("#define COMPILER_VERSION \"%d.%02d.", d, x); printf("%05d\"\n",(int)(_MSC_FULL_VER % 100000)); /* build (patch) */ #endif return 0; } |