cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: yangtse: curl/lib sendf.c,1.125,1.126 sendf.h,1.33,1.34

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Tue, 27 Mar 2007 07:43:06 -0700

On Tue, Mar 27, 2007 at 11:53:02AM +0100, Jamie Lokier wrote:
> Why not this, to optimise away the function call in most cases?
>
> #define infof if (1) {} else Curl_infof

This is going to give "code not reachable" warnings on some compilers, and
will still leave the strings in the binaries on others.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2007-03-27