]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
smbd: Remove code inside #ifdef NEXT2
authorChristof Schmitt <cs@samba.org>
Tue, 23 Jun 2020 18:46:38 +0000 (11:46 -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>
source3/smbd/vfs.c

index f8c71014955f7326cf0befc4a7a591eef43b035d..df2d7605ad913a0a5366d0c22ae9ff39067a9d7d 100644 (file)
@@ -855,11 +855,6 @@ const char *vfs_readdirname(connection_struct *conn, void *p,
        dname = ptr->d_name;
 
 
-#ifdef NEXT2
-       if (telldir(p) < 0)
-               return(NULL);
-#endif
-
 #ifdef HAVE_BROKEN_READDIR_NAME
        /* using /usr/ucb/cc is BAD */
        dname = dname - 2;