clang uncovered several conditionals which could never be true.
Removed the conditionals entirely.
bool
Comm::MonitorsRead(int fd)
{
- assert(isOpen(fd) && COMMIO_FD_READCB(fd));
+ assert(isOpen(fd) && COMMIO_FD_READCB(fd) != NULL);
// Being active is usually the same as monitoring because we always
// start monitoring the FD when we configure Comm::IoCallback for I/O
// and we usually configure Comm::IoCallback for I/O when we starting
esiKick_t
ESIContext::kick ()
{
- assert (this);
-
if (flags.kicked) {
debugs(86, 5, "esiKick: Re-entered whilst in progress");
// return ESI_KICK_INPROGRESS;
char from[MAXPATHLEN];
char to[MAXPATHLEN];
l_stdio_t *ll = (l_stdio_t *) lf->data;
- assert(lf->path);
const char *realpath = lf->path+6; // skip 'stdio:' prefix.
assert(realpath);