Fossil SCM
Remove an unused function from the wiki formatter.
Commit
b1cc5a4c12a6542326e27c74fa4e314ca1eda05f
Parent
1f4af61f41449c6…
1 file changed
-7
-7
| --- src/wikiformat.c | ||
| +++ src/wikiformat.c | ||
| @@ -1767,17 +1767,10 @@ | ||
| 1767 | 1767 | for(n=1; z[n] && z[n]!='<' && !fossil_isspace(z[n]); n++){} |
| 1768 | 1768 | } |
| 1769 | 1769 | return n; |
| 1770 | 1770 | } |
| 1771 | 1771 | |
| 1772 | -/* | |
| 1773 | -** Return true if z[] is the word zWord in any case. | |
| 1774 | -*/ | |
| 1775 | -static int isWord(const char *z, const char *zWord, int nWord){ | |
| 1776 | - return fossil_strnicmp(z, zWord, nWord)==0 && !fossil_isalpha(z[nWord]); | |
| 1777 | -} | |
| 1778 | - | |
| 1779 | 1772 | /* |
| 1780 | 1773 | ** Attempt to reformat messy HTML to be easily readable by humans. |
| 1781 | 1774 | ** |
| 1782 | 1775 | ** * Try to keep lines less than 80 characters in length |
| 1783 | 1776 | ** * Collapse white space into a single space |
| 1784 | 1777 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1767,17 +1767,10 @@ | |
| 1767 | for(n=1; z[n] && z[n]!='<' && !fossil_isspace(z[n]); n++){} |
| 1768 | } |
| 1769 | return n; |
| 1770 | } |
| 1771 | |
| 1772 | /* |
| 1773 | ** Return true if z[] is the word zWord in any case. |
| 1774 | */ |
| 1775 | static int isWord(const char *z, const char *zWord, int nWord){ |
| 1776 | return fossil_strnicmp(z, zWord, nWord)==0 && !fossil_isalpha(z[nWord]); |
| 1777 | } |
| 1778 | |
| 1779 | /* |
| 1780 | ** Attempt to reformat messy HTML to be easily readable by humans. |
| 1781 | ** |
| 1782 | ** * Try to keep lines less than 80 characters in length |
| 1783 | ** * Collapse white space into a single space |
| 1784 |
| --- src/wikiformat.c | |
| +++ src/wikiformat.c | |
| @@ -1767,17 +1767,10 @@ | |
| 1767 | for(n=1; z[n] && z[n]!='<' && !fossil_isspace(z[n]); n++){} |
| 1768 | } |
| 1769 | return n; |
| 1770 | } |
| 1771 | |
| 1772 | /* |
| 1773 | ** Attempt to reformat messy HTML to be easily readable by humans. |
| 1774 | ** |
| 1775 | ** * Try to keep lines less than 80 characters in length |
| 1776 | ** * Collapse white space into a single space |
| 1777 |