Fossil SCM
Fix harmless compiler warning.
Commit
a61922e2bec3a9989e61045f6178d3b1f7d750ab23c751ce6e8218bc5e0cd245
Parent
96dcb7e709a4786…
1 file changed
+2
+2
| --- src/json_dir.c | ||
| +++ src/json_dir.c | ||
| @@ -25,14 +25,16 @@ | ||
| 25 | 25 | |
| 26 | 26 | static cson_value * json_page_dir_list(); |
| 27 | 27 | /* |
| 28 | 28 | ** Mapping of /json/wiki/XXX commands/paths to callbacks. |
| 29 | 29 | */ |
| 30 | +#if 0 /* TODO: Not used? */ | |
| 30 | 31 | static const JsonPageDef JsonPageDefs_Dir[] = { |
| 31 | 32 | /* Last entry MUST have a NULL name. */ |
| 32 | 33 | {NULL,NULL,0} |
| 33 | 34 | }; |
| 35 | +#endif | |
| 34 | 36 | |
| 35 | 37 | #if 0 /* TODO: Not used? */ |
| 36 | 38 | static char const * json_dir_path_extra(){ |
| 37 | 39 | static char const * zP = NULL; |
| 38 | 40 | if( !zP ){ |
| 39 | 41 |
| --- src/json_dir.c | |
| +++ src/json_dir.c | |
| @@ -25,14 +25,16 @@ | |
| 25 | |
| 26 | static cson_value * json_page_dir_list(); |
| 27 | /* |
| 28 | ** Mapping of /json/wiki/XXX commands/paths to callbacks. |
| 29 | */ |
| 30 | static const JsonPageDef JsonPageDefs_Dir[] = { |
| 31 | /* Last entry MUST have a NULL name. */ |
| 32 | {NULL,NULL,0} |
| 33 | }; |
| 34 | |
| 35 | #if 0 /* TODO: Not used? */ |
| 36 | static char const * json_dir_path_extra(){ |
| 37 | static char const * zP = NULL; |
| 38 | if( !zP ){ |
| 39 |
| --- src/json_dir.c | |
| +++ src/json_dir.c | |
| @@ -25,14 +25,16 @@ | |
| 25 | |
| 26 | static cson_value * json_page_dir_list(); |
| 27 | /* |
| 28 | ** Mapping of /json/wiki/XXX commands/paths to callbacks. |
| 29 | */ |
| 30 | #if 0 /* TODO: Not used? */ |
| 31 | static const JsonPageDef JsonPageDefs_Dir[] = { |
| 32 | /* Last entry MUST have a NULL name. */ |
| 33 | {NULL,NULL,0} |
| 34 | }; |
| 35 | #endif |
| 36 | |
| 37 | #if 0 /* TODO: Not used? */ |
| 38 | static char const * json_dir_path_extra(){ |
| 39 | static char const * zP = NULL; |
| 40 | if( !zP ){ |
| 41 |