Source-Changes-D archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/sys
In article <de5fc886-798c-1750-b077-587ae1df6741%m00nbsd.net@localhost>,
Maxime Villard <max%m00nbsd.net@localhost> wrote:
>
>The reason we should not use __nothing is because it leaves unused
>variables, and causes warnings.
Yes, and depending on the compiler and optimization level also leaves
code behind, or might have side effects. This is why everywhere else
we use empty macros (aside that it is simpler). The benefit of using
inlines is that the code is the same in both cases and there is argument
checking.
christos
Home |
Main Index |
Thread Index |
Old Index