Clang seems to be giving me a warning that a a char is unused in an expression, here's the entire section of code:
int yeller(const char * channel) {
char *p, *q;
q = p = MAKE_COPY(temp->bind_chan);
while ((p = next_in_comma_list(q, &q))) {
if (!p || !*p)
break;
if (!my_stricmp(p, channel))
return tmp;
Specifically this line:
q = p = MAKE_COPY(temp->bind_chan);
Although the value stored to 'p' is used in the enclosing expression, the value is never actually read from 'p'
I am obviously evaluating it in the while loop, is this really a 'bug' or am I doing something wrong?