summaryrefslogtreecommitdiffstats
path: root/source/lib/substitute.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-10-20 06:28:11 +0000
committerAndrew Tridgell <tridge@samba.org>2001-10-20 06:28:11 +0000
commit9355f251656d0233395dae6978c58f4e520e069b (patch)
treec3054e042ba548eb883dde0e462d1407a5a2f0a0 /source/lib/substitute.c
parenta899086a51546220247390ac641f51b1df2f5496 (diff)
downloadsamba-9355f251656d0233395dae6978c58f4e520e069b.tar.gz
samba-9355f251656d0233395dae6978c58f4e520e069b.tar.xz
samba-9355f251656d0233395dae6978c58f4e520e069b.zip
removed an unused variable
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);