From: Joseph Sutton Date: Thu, 5 Oct 2023 23:54:48 +0000 (+1300) Subject: s3:modules: Remove unreachable code (CID 1508998) X-Git-Tag: tevent-0.16.0~66 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=86b0755a4b791e368010ce4a72add5dfa2a5f13d;p=thirdparty%2Fsamba.git s3:modules: Remove unreachable code (CID 1508998) Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source3/modules/vfs_preopen.c b/source3/modules/vfs_preopen.c index 0810dcbc5b9..d1327f64e58 100644 --- a/source3/modules/vfs_preopen.c +++ b/source3/modules/vfs_preopen.c @@ -431,12 +431,6 @@ static bool preopen_parse_fname(const char *fname, uint64_t *pnum, * parsing the string into a number */ - if (*pnum_digits < 1) { - /* - * We need at least one digit - */ - return false; - } if (*pnum_digits > PREOPEN_MAX_DIGITS) { /* * a string with as much digits as