Re: to be effcient or not to be efficient
Enrico Weigelt <[email protected]>
| Newsgroups | gmane.comp.multimedia.media-api |
|---|---|
| Message-ID | <[email protected]> |
* Tuukka Toivonen <[email protected]> [2004-01-08 21:05:36 +0200]: <snip> > - You might not care about possible errors, and in that case no > checks are necessary at all if non-NULL pointers are guaranteed > (it's also safer: some buggy code might not check for NULL > pointers but just call directly a function that is usually > implemented anyway, with dummy pointers no harm is done, > but with NULL function pointer there would be a segfault). Well, in a debuggin build, we could also replace all NULL pointers by dummy calls, so they can report such errors w/ a nice warning message and try to recover whats possible. cu -- --------------------------------------------------------------------- Enrico Weigelt == metux IT services phone: +49 36207 519931 www: http://www.metux.de/ fax: +49 36207 519932 email: [email protected] cellphone: +49 174 7066481 --------------------------------------------------------------------- Diese Mail wurde mit UUCP versandt. http://www.metux.de/uucp/