Re: [Vala] [PATCH] Clean up unused GError in case of catch statement without arguments
- From: Jürg Billeter <j bitron ch>
- To: Alexander Bokovoy <ab altlinux org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [PATCH] Clean up unused GError in case of catch statement without arguments
- Date: Tue, 27 Oct 2009 17:06:05 +0100
On Sun, 2009-10-25 at 11:21 +0200, Alexander Bokovoy wrote:
When catch statement has no arguments, no access to a GError is possible
from Vala source code. Therefore, do not create temporary variable which
is not used. Also, clear error object as it is not passed upwards then.
Thanks, applied - without the CCodeComment, we don't comment generated
code in general.
Jürg
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]