Fossil

Check-in [dc7d0a2e]
Login

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

Overview
Comment:Fix harmless coding style issues.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256:dc7d0a2e27c48c63656e6b3d96c325fa8fb66724c463d7340115b91fb915948a
User & Date: drh 2017-12-14 18:03:01
Context
2017-12-15
01:54
Fixes to the "eagle" built-in CSS so that trunk backgrounds look right in the Modern View. check-in: 2c8bff0b user: drh tags: trunk
2017-12-14
18:03
Fix harmless coding style issues. check-in: dc7d0a2e user: drh tags: trunk
12:04
Fix the parentheses around the "detail" section of each timeline entry in Verbose and Compact views on the /finfo timeline. check-in: 55dd5521 user: drh tags: trunk
Changes
Hide Diffs Side-by-Side Diffs Ignore Whitespace Patch

Changes to src/db.c.

    60     60   };
    61     61   
    62     62   /*
    63     63   ** Copy this to initialize a Stmt object to a clean/empty state. This
    64     64   ** is useful to help avoid assertions when performing cleanup in some
    65     65   ** error handling cases.
    66     66   */
    67         -#define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0}
           67  +#define empty_Stmt_m {BLOB_INITIALIZER,NULL, NULL, NULL, 0, 0}
    68     68   #endif /* INTERFACE */
    69     69   const struct Stmt empty_Stmt = empty_Stmt_m;
    70     70   
    71     71   /*
    72     72   ** Call this routine when a database error occurs.
    73     73   */
    74     74   static void db_err(const char *zFormat, ...){

Changes to src/search.c.

  1070   1070       case SRCH_TECHNOTE: zType = " Tech Notes"; zClass = "Note"; break;
  1071   1071     }
  1072   1072     if( srchFlags==0 ){
  1073   1073       zDisable1 = " disabled";
  1074   1074       zDisable2 = " disabled";
  1075   1075       zPattern = "";
  1076   1076     }else{
  1077         -    zDisable1 = ""; // autofocus";
         1077  +    zDisable1 = ""; /* Was: " autofocus" */
  1078   1078       zDisable2 = "";
  1079   1079       zPattern = PD("s","");
  1080   1080     }
  1081   1081     @ <form method='GET' action='%R/%T(g.zPath)'>
  1082   1082     if( zClass ){
  1083   1083       @ <div class='searchForm searchForm%s(zClass)'>
  1084   1084     }else{