Re: [Vala] [PATCH] Clean up unused GError in case of catch statement without arguments

2009-10-27 Thread Jürg Billeter
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

[Vala] [PATCH] Clean up unused GError in case of catch statement without arguments

2009-10-25 Thread Alexander Bokovoy
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. --- codegen/valagerrormodule.vala | 13 ++--- 1 files changed, 10