Fossil

Check-in [01d6ef7c]
Login

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

Overview
Comment:Remove unused local variable.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 01d6ef7cf8935ee11d0dc63ed0773779da6d2569
User & Date: mistachkin 2012-12-16 07:16:56
Context
2012-12-16
17:13
Change the default footer to show the approximate time needed to generated the HTML for the page. check-in: ef6285a6 user: drh tags: trunk
07:16
Remove unused local variable. check-in: 01d6ef7c user: mistachkin tags: trunk
2012-12-15
21:55
Do not attempt to translate tabs into spaces on a unified diff. check-in: b9126194 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/diff.c.

415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
*/
static void appendDiffLine(
  Blob *pOut,         /* Where to write the line of output */
  char cPrefix,       /* One of " ", "+",  or "-" */
  DLine *pLine,       /* The line to be output */
  int html            /* True if generating HTML.  False for plain text */
){
  int i;
  blob_append(pOut, &cPrefix, 1);
  if( html ){
    char *zHtml;
    if( cPrefix=='+' ){
      blob_append(pOut, "<span class=\"diffadd\">", -1);
    }else if( cPrefix=='-' ){
      blob_append(pOut, "<span class=\"diffrm\">", -1);







<







415
416
417
418
419
420
421

422
423
424
425
426
427
428
*/
static void appendDiffLine(
  Blob *pOut,         /* Where to write the line of output */
  char cPrefix,       /* One of " ", "+",  or "-" */
  DLine *pLine,       /* The line to be output */
  int html            /* True if generating HTML.  False for plain text */
){

  blob_append(pOut, &cPrefix, 1);
  if( html ){
    char *zHtml;
    if( cPrefix=='+' ){
      blob_append(pOut, "<span class=\"diffadd\">", -1);
    }else if( cPrefix=='-' ){
      blob_append(pOut, "<span class=\"diffrm\">", -1);