summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/substitute.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c
index 9c70760055..9b2713a674 100644
--- a/source3/lib/substitute.c
+++ b/source3/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);