[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Whats the deal with subversion/libsvn_wc/log.c:start_handler?

From: Karl Fogel <kfogel_at_galois.collab.net>
Date: 2000-11-06 21:20:18 CET

Well, signal_error() returns void, so returning the result of a call
to signal_error() from a calling function that also returns void would
be okay...? Or not...?

Um, I don't really know, I was just making it up as I went along.

If it's not valid C, I'll get rid of the "return ". :-)

Thanks for the note.

-K

Branko =?ISO-8859-2?Q?=C8ibej?= <brane@xbc.nu> writes:
> It's a void function, yet it's full of "return signal_error(...)"
> thingies. I really don't care if gcc doesn't complain about that; it's
> not valid C. (It /is/ valid C++, though :-).)
>
> --
> Brane �ibej
> home: <brane_at_xbc.nu> http://www.xbc.nu/brane/
> work: <branko.cibej_at_hermes.si> http://www.hermes-softlab.com/
> ACM: <brane_at_acm.org> http://www.acm.org/
Received on Sat Oct 21 14:36:14 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.