mirror of
https://github.com/samba-team/samba.git
synced 2025-01-05 09:18:06 +03:00
228dd73cae
Suppose that ‘slen’ is equal to (size_t)-1. A few lines up, we had: if (lastp != 0) goto slow_path; Therefore, ‘lastp’ must evaluate to false. Now suppose that ‘slen’ is not equal to (size_t)-1. In that case, we would have executed: if (slen != 0) goto slow_path; Therefore, ‘slen’ must evaluate to false. Consequently, this code can be seen to be unreachable. Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> |
||
---|---|---|
.. | ||
tests | ||
charset_macosxfs.c | ||
charset_proto.h | ||
charset.h | ||
codepoints.c | ||
convert_string.c | ||
iconv.c | ||
pull_push.c | ||
util_str.c | ||
util_unistr_w.c | ||
util_unistr.c | ||
weird.c | ||
wscript_build | ||
wscript_configure |