Skip to content

Commit

Permalink
smbd: Remove code inside #ifdef NEXT2
Browse files Browse the repository at this point in the history
This is dead code, the define is never set.

Signed-off-by: Christof Schmitt <[email protected]>
Reviewed-by: Volker Lendecke <[email protected]>
  • Loading branch information
chs authored and vlendec committed Jul 16, 2020
1 parent d23e267 commit 2162d50
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions source3/smbd/vfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2162d50

Please sign in to comment.