Fossil SCM

Remove unused local variable.

mistachkin 2012-12-16 07:16 trunk
Commit 01d6ef7cf8935ee11d0dc63ed0773779da6d2569
1 file changed -1
-1
--- src/diff.c
+++ src/diff.c
@@ -417,11 +417,10 @@
417417
Blob *pOut, /* Where to write the line of output */
418418
char cPrefix, /* One of " ", "+", or "-" */
419419
DLine *pLine, /* The line to be output */
420420
int html /* True if generating HTML. False for plain text */
421421
){
422
- int i;
423422
blob_append(pOut, &cPrefix, 1);
424423
if( html ){
425424
char *zHtml;
426425
if( cPrefix=='+' ){
427426
blob_append(pOut, "<span class=\"diffadd\">", -1);
428427
--- src/diff.c
+++ src/diff.c
@@ -417,11 +417,10 @@
417 Blob *pOut, /* Where to write the line of output */
418 char cPrefix, /* One of " ", "+", or "-" */
419 DLine *pLine, /* The line to be output */
420 int html /* True if generating HTML. False for plain text */
421 ){
422 int i;
423 blob_append(pOut, &cPrefix, 1);
424 if( html ){
425 char *zHtml;
426 if( cPrefix=='+' ){
427 blob_append(pOut, "<span class=\"diffadd\">", -1);
428
--- src/diff.c
+++ src/diff.c
@@ -417,11 +417,10 @@
417 Blob *pOut, /* Where to write the line of output */
418 char cPrefix, /* One of " ", "+", or "-" */
419 DLine *pLine, /* The line to be output */
420 int html /* True if generating HTML. False for plain text */
421 ){
 
422 blob_append(pOut, &cPrefix, 1);
423 if( html ){
424 char *zHtml;
425 if( cPrefix=='+' ){
426 blob_append(pOut, "<span class=\"diffadd\">", -1);
427

Keyboard Shortcuts

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