Fossil SCM
Remove an unused variable from the /dir webpage implementation.
Commit
d1f9f4c84ddcadc5aec4c72f718d33f6d0493de262f04abea35a0d4e512c4eab
Parent
34d9bddf8d93f5f…
1 file changed
-1
-1
| --- src/browse.c | ||
| +++ src/browse.c | ||
| @@ -133,11 +133,10 @@ | ||
| 133 | 133 | Blob dirname; |
| 134 | 134 | Manifest *pM = 0; |
| 135 | 135 | const char *zSubdirLink; |
| 136 | 136 | int linkTrunk = 1; |
| 137 | 137 | int linkTip = 1; |
| 138 | - char *zReadme; | |
| 139 | 138 | HQuery sURI; |
| 140 | 139 | |
| 141 | 140 | if( strcmp(PD("type","flat"),"tree")==0 ){ page_tree(); return; } |
| 142 | 141 | login_check_credentials(); |
| 143 | 142 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 144 | 143 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -133,11 +133,10 @@ | |
| 133 | Blob dirname; |
| 134 | Manifest *pM = 0; |
| 135 | const char *zSubdirLink; |
| 136 | int linkTrunk = 1; |
| 137 | int linkTip = 1; |
| 138 | char *zReadme; |
| 139 | HQuery sURI; |
| 140 | |
| 141 | if( strcmp(PD("type","flat"),"tree")==0 ){ page_tree(); return; } |
| 142 | login_check_credentials(); |
| 143 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 144 |
| --- src/browse.c | |
| +++ src/browse.c | |
| @@ -133,11 +133,10 @@ | |
| 133 | Blob dirname; |
| 134 | Manifest *pM = 0; |
| 135 | const char *zSubdirLink; |
| 136 | int linkTrunk = 1; |
| 137 | int linkTip = 1; |
| 138 | HQuery sURI; |
| 139 | |
| 140 | if( strcmp(PD("type","flat"),"tree")==0 ){ page_tree(); return; } |
| 141 | login_check_credentials(); |
| 142 | if( !g.perm.Read ){ login_needed(g.anon.Read); return; } |
| 143 |