Name: Anonymous 2008-10-16 10:10
so suppose I have
PROLINT argues that foo might be NULL in the second if YET IT OBVIOUSLY CAN'T because continuing equals zero and the right hand term of && isn't evaluated at all.
fucking hell
arbitrary_struct* foo = NULL;
int continuing = 1;
if (NULL == ( foo = dicks_everywhere() ) )
{
continuing = 0;
}
if (continuing && NULL != foo->loldongs )
{
perform_dickbutt();
}PROLINT argues that foo might be NULL in the second if YET IT OBVIOUSLY CAN'T because continuing equals zero and the right hand term of && isn't evaluated at all.
fucking hell