Fossil

Check-in [a61922e2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix harmless compiler warning.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:a61922e2bec3a9989e61045f6178d3b1f7d750ab23c751ce6e8218bc5e0cd245
User & Date: mistachkin 2018-01-03 22:13:19
Context
2018-01-03
23:55
In the "fossil ui" and "fossil server" commands on Windows, use IPv6 for loopback. check-in: 696e1481 user: drh tags: trunk
22:13
Fix harmless compiler warning. check-in: a61922e2 user: mistachkin tags: trunk
18:56
Accept both "127.0.0.1" and "::ffff:127.0.0.1" as valid loopback IP addresses. check-in: 96dcb7e7 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/json_dir.c.

    23     23   #include "json_detail.h"
    24     24   #endif
    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       zP = g.zExtra;
    40     42       while(zP && *zP && ('/'==*zP)){