mirror of
https://github.com/samba-team/samba.git
synced 2025-02-12 21:58:10 +03:00
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>
This directory contains libutil (until we can think of a better name) The idea is that this library contains simple but useful data structures and support functions that are generally useful; not just for Samba but for other projects as well. Functions here should not depend on any external libraries, just on libc (perhaps partially provided by libreplace).