Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PROLINT is fucking shit

Name: Anonymous 2008-10-16 10:10

so suppose I have

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

Name: Anonymous 2008-10-16 11:21

arbitrary_struct* foo = NULL;
foo = dicks_everywhere();
if( foo && ! foo->loldongs )
  perform_dickbutt();


Why do you care so much about PROLINT?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List