Fabian Greffrath <[EMAIL PROTECTED]> writes:

> But then the code in allcodecs.c look rather senseless to me. Why should
> you test 'if (inited)' when you've just set it yourself to 0 by
> initializing it?

In order to ensure that no matter how often that function is called, the
code below that if is executed exatly once. Think Singleton-Pattern.

-- 
Gruesse/greetings,
Reinhard Tartler, KeyID 945348A4



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to