]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:client: Remove code inside #ifdef NEXT2
authorChristof Schmitt <cs@samba.org>
Tue, 23 Jun 2020 18:48:53 +0000 (11:48 -0700)
committerVolker Lendecke <vl@samba.org>
Thu, 16 Jul 2020 01:29:45 +0000 (01:29 +0000)
This is dead code, the define is never set.

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
source4/client/client.c

index c77281cc8cda3239efeef1abad2165135e8957f8..27e2097515646a188e5dc8c88d59d55caa73b11a 100644 (file)
@@ -1348,11 +1348,6 @@ static const char *readdirname(DIR *p)
 
        dname = ptr->d_name;
 
-#ifdef NEXT2
-       if (telldir(p) < 0)
-               return(NULL);
-#endif
-
 #ifdef HAVE_BROKEN_READDIR
        /* using /usr/ucb/cc is BAD */
        dname = dname - 2;