Fossil SCM

Fix harmless compiler warning.

mistachkin 2018-01-03 22:13 trunk
Commit a61922e2bec3a9989e61045f6178d3b1f7d750ab23c751ce6e8218bc5e0cd245
1 file changed +2
--- src/json_dir.c
+++ src/json_dir.c
@@ -25,14 +25,16 @@
2525
2626
static cson_value * json_page_dir_list();
2727
/*
2828
** Mapping of /json/wiki/XXX commands/paths to callbacks.
2929
*/
30
+#if 0 /* TODO: Not used? */
3031
static const JsonPageDef JsonPageDefs_Dir[] = {
3132
/* Last entry MUST have a NULL name. */
3233
{NULL,NULL,0}
3334
};
35
+#endif
3436
3537
#if 0 /* TODO: Not used? */
3638
static char const * json_dir_path_extra(){
3739
static char const * zP = NULL;
3840
if( !zP ){
3941
--- 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

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button