From: Christof Schmitt Date: Tue, 23 Jun 2020 18:49:46 +0000 (-0700) Subject: lib/util: Remove code inside #ifdef NEXT2 X-Git-Tag: talloc-2.3.2~1110 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eecd65d475dc39af65f4284acddb11d0573b2008;p=thirdparty%2Fsamba.git lib/util: Remove code inside #ifdef NEXT2 This is dead code, the define is never set. Signed-off-by: Christof Schmitt Reviewed-by: Volker Lendecke --- diff --git a/source3/lib/util.c b/source3/lib/util.c index 6aa551176ed..975e852506d 100644 --- a/source3/lib/util.c +++ b/source3/lib/util.c @@ -867,11 +867,6 @@ const char *readdirname(DIR *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;