apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk-Willem van Gulik <di...@covalent.net>
Subject Re: Buckets code question
Date Thu, 12 Apr 2001 17:01:30 GMT


On Wed, 11 Apr 2001 rbb@covalent.net wrote:

> On Wed, 11 Apr 2001, William A. Rowe, Jr. wrote:
>
> > apr-util\buckets\apr_buckets_eos.c(84) : warning C4702: unreachable code
> >
> > Hopefully :-)
>
> That looks like a bug in the compiler.  That code is definately reachable.

I struggled with that as well as my compiler says the same thing; if you
change the

		...
		return foo;
	} while(0);

into an if (a) return foo; it goes away. While on the subject - I am
wondering if the return foo would not also break inline/optimize rq's.

Dw


Mime
View raw message