Re: [idea] request_module(const char *fmt, ...);

James Manning (jmm@raleigh.ibm.com)
Fri, 14 Jan 2000 16:17:31 -0500


[ Friday, January 14, 2000 ] willy tarreau wrote:
> if you define an empty macro for request_module, this
> line :
>
> request_module("blah","blah2","foobar");
>
> will be converted to :
>
> ("blah","blah2","foobar");
>
> which is treated by the compiler as useless code and
> will no even generate one byte of code.
>
> I think this is perfectly usable, any comments ?

We *hate* compiler warnings

warning: left-hand operand of comma expression has no effect
(use -Wall on your compiles :)

James

-- 
Miscellaneous Engineer --- IBM Netfinity Performance Development

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/