summaryrefslogtreecommitdiff
path: root/source3/lib/access.c
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2003-08-15 01:42:30 +0000
committerHerb Lewis <herb@samba.org>2003-08-15 01:42:30 +0000
commit062f89bc2833bf49f873a7fd5c2624babd702db0 (patch)
tree2b0224355c23e67b21fa01ce537f6f22e53cbc18 /source3/lib/access.c
parentcc865e1edc57052877ae542058d62dfd16152369 (diff)
downloadsamba-062f89bc2833bf49f873a7fd5c2624babd702db0.tar.gz
samba-062f89bc2833bf49f873a7fd5c2624babd702db0.tar.bz2
samba-062f89bc2833bf49f873a7fd5c2624babd702db0.zip
get rid of some sompiler warnings on IRIX
(This used to be commit a6a39c61e8228c8b3b7552ab3c61ec3a6a639143)
Diffstat (limited to 'source3/lib/access.c')
-rw-r--r--source3/lib/access.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/lib/access.c b/source3/lib/access.c
index c30b3c33cc..a874c8b1e2 100644
--- a/source3/lib/access.c
+++ b/source3/lib/access.c
@@ -281,13 +281,12 @@ static BOOL only_ipaddrs_in_list(const char** list)
}
if (!is_ipaddress(*list)) {
- char *p;
/*
* if we failed, make sure that it was not because the token
* was a network/netmask pair. Only network/netmask pairs
* have a '/' in them
*/
- if ((p=strchr_m(*list, '/')) == NULL) {
+ if ((strchr_m(*list, '/')) == NULL) {
only_ip = False;
DEBUG(3,("only_ipaddrs_in_list: list has non-ip address (%s)\n", *list));
break;