Re: [Vala] Problem with switch statment
- From: Jürg Billeter <j bitron ch>
- To: Nicolas <c r n a wanadoo fr>
- Cc: vala-list gnome org
- Subject: Re: [Vala] Problem with switch statment
- Date: Mon, 28 Sep 2009 13:50:40 +0200
Hi,
On Mon, 2009-09-28 at 13:41 +0200, Nicolas wrote:
I found a simple solution to avoid this warnings.
Rather than using a "return", I use a bool and at the end of the
procedure, I return the bool.
Do you think this is a good solution?
You can do this to avoid the warning, however, this should certainly be
fixed in the compiler at some point. Feel free to file a bug.
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]