On Thu, Jun 30, 2011 at 12:57 AM, Mike Frysinger <[email protected]> wrote:
> On Thursday, June 30, 2011 00:52:49 Jie Zhang wrote:
>> If it's true that user should always call urj_error_describe on
>> URJ_LOG_LEVEL_ERROR or URJ_LOG_LEVEL_WARNING, why adding an assert is
>> a bad idea?
>
> it's a library.  libraries are supposed to return errors, not crash.
>
But if user should always call urj_error_describe on
URJ_LOG_LEVEL_ERROR or URJ_LOG_LEVEL_WARNING, the assert will never
fail, so never crash.

Jie

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
UrJTAG-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/urjtag-development

Reply via email to