Ethereal-dev: Re: [ethereal-dev] Patches containing assert statements (& not much else)

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ben Fowler <wapdev@xxxxxxxxxxxx>
Date: Thu, 20 Apr 2000 14:45:55 +0100
At 09:18 AM 4/20/00, Guy Harris wrote:
> I would like a suitable never_used marker (distinct from an unused marker)
> to catch attempts to initialise one of these variables twice.

If that's a real issue, you could create a static object of the type
pointed to by the pointer in question, and use a pointer to it as the
separate marker.

Thank you. I see that now. I will work on those lines if I need to do this.

Ben.


--
Leedsnet - The information resource for Leeds and the West Riding
< URL:http://www.leedsnet.com/mobile/ >