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: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Thu, 20 Apr 2000 01:18:14 -0700
> 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.