summaryrefslogtreecommitdiffstats
path: root/source/lib/substitute.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/lib/substitute.c')
-rw-r--r--source/lib/substitute.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/lib/substitute.c b/source/lib/substitute.c
index 9c70760055b..9b2713a674c 100644
--- a/source/lib/substitute.c
+++ b/source/lib/substitute.c
@@ -223,7 +223,6 @@ void standard_sub_basic(char *str)
void standard_sub_advanced(int snum, char *user, char *connectpath, gid_t gid, char *str)
{
char *p, *s, *home;
- struct passwd *pass;
for (s=str; (p=strchr_m(s, '%'));s=p) {
int l = sizeof(pstring) - (int)(p-str);