| | @@ -21,16 +21,10 @@ |
| 21 | 21 | #include "config.h" |
| 22 | 22 | #include "add.h" |
| 23 | 23 | #include <assert.h> |
| 24 | 24 | #include <dirent.h> |
| 25 | 25 | |
| 26 | | -/* |
| 27 | | -** Set to true if files whose names begin with "." should be |
| 28 | | -** included when processing a recursive "add" command. |
| 29 | | -*/ |
| 30 | | -static int includeDotFiles = 0; |
| 31 | | - |
| 32 | 26 | /* |
| 33 | 27 | ** This routine returns the names of files in a working checkout that |
| 34 | 28 | ** are created by Fossil itself, and hence should not be added, deleted, |
| 35 | 29 | ** or merge, and should be omitted from "clean" and "extra" lists. |
| 36 | 30 | ** |
| | @@ -39,11 +33,11 @@ |
| 39 | 33 | */ |
| 40 | 34 | const char *fossil_reserved_name(int N){ |
| 41 | 35 | /* Possible names of the local per-checkout database file and |
| 42 | 36 | ** its associated journals |
| 43 | 37 | */ |
| 44 | | - static const char *azName[] = { |
| 38 | + static const char *const azName[] = { |
| 45 | 39 | "_FOSSIL_", |
| 46 | 40 | "_FOSSIL_-journal", |
| 47 | 41 | "_FOSSIL_-wal", |
| 48 | 42 | "_FOSSIL_-shm", |
| 49 | 43 | ".fslckout", |
| | @@ -61,11 +55,11 @@ |
| 61 | 55 | }; |
| 62 | 56 | |
| 63 | 57 | /* Names of auxiliary files generated by SQLite when the "manifest" |
| 64 | 58 | ** properity is enabled |
| 65 | 59 | */ |
| 66 | | - static const char *azManifest[] = { |
| 60 | + static const char *const azManifest[] = { |
| 67 | 61 | "manifest", |
| 68 | 62 | "manifest.uuid", |
| 69 | 63 | }; |
| 70 | 64 | |
| 71 | 65 | /* Cached setting "manifest" */ |
| 72 | 66 | |