diff options
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/cgi.c | 2 | ||||
-rw-r--r-- | source3/web/swat.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/source3/web/cgi.c b/source3/web/cgi.c index d2b30c49e9..caba28396f 100644 --- a/source3/web/cgi.c +++ b/source3/web/cgi.c @@ -448,7 +448,9 @@ static void cgi_download(char *file) char buf[1024]; int fd, l, i; char *p; +#if I18N_SWAT int nLangDesc; +#endif /* sanitise the filename */ for (i=0;file[i];i++) { diff --git a/source3/web/swat.c b/source3/web/swat.c index 664780995e..a6286dc93b 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -196,7 +196,6 @@ static void show_parameter(int snum, struct parm_struct *parm) { int i; void *ptr = parm->ptr; - char* str; if (parm->class == P_LOCAL && snum >= 0) { ptr = lp_local_ptr(snum, ptr); |