git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d53483a
)
s3:modules: Remove unreachable code (CID 1508998)
author
Joseph Sutton
<josephsutton@catalyst.net.nz>
Thu, 5 Oct 2023 23:54:48 +0000
(12:54 +1300)
committer
Andrew Bartlett
<abartlet@samba.org>
Fri, 13 Oct 2023 02:18:31 +0000
(
02:18
+0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/modules/vfs_preopen.c
patch
|
blob
|
history
diff --git
a/source3/modules/vfs_preopen.c
b/source3/modules/vfs_preopen.c
index 0810dcbc5b98671614e16d5f5777dc5b63b5be13..d1327f64e581f8d1a448a919357bdd7677954519 100644
(file)
--- 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