[Patch] More redundant NULL pointer checks

Paolo Carlini pcarlini@unitus.it
Mon Apr 21 17:27:00 GMT 2003


Benjamin Kosnik wrote:

>Ok, except the sgetc change, don't do this.
>
Ok, I will revert that bit.

> Also, your line breaks are funny:
>
>+      const bool __testeof =
>+	traits_type::eq_int_type(__c, traits_type::eof());
>
>Should be:
>
>+      const bool __testeof = traits_type::eq_int_type(__c, 
>+	                                               traits_type::eof());
>
Ok, again. I didn't remember that we don't wrap after the equal sign...

Paolo.



More information about the Libstdc++ mailing list