s3:smbd: Don't assign variable to itself
commit91e7351db396acda03d0c7f75e57a7285e62f118
authorAndreas Schneider <asn@samba.org>
Fri, 3 Feb 2023 13:30:49 +0000 (3 14:30 +0100)
committerJeremy Allison <jra@samba.org>
Mon, 6 Feb 2023 22:51:31 +0000 (6 22:51 +0000)
treed49367cfba19d39774d051304088d898b5177226
parentbd5b093cc02f3990bb14e3c4ff89c78a16c6d3fc
s3:smbd: Don't assign variable to itself

source3/smbd/msdfs.c:367:14: error: explicitly assigning value of variable of
    type 'char *' to itself [-Werror,-Wself-assign]
        servicename = servicename;
        ~~~~~~~~~~~ ^ ~~~~~~~~~~~

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/smbd/msdfs.c