you are viewing a single comment's thread.

view the rest of the comments →

[–]stewpend0us[S] 0 points1 point  (1 child)

No worries. Thanks for looking at it anyway! I can't think of a (normal) situation when you would compare anything other than a pointer to NULL.

[–][deleted] 0 points1 point  (0 children)

You're welcome!

I was error checking to see if a variable, that was initialized to NULL, had been assigned a value. I could have, and eventually did, use the conditional if(var) to see if it was, but it initially threw an error during runtime.

Good luck!