codegen: Check there is a return error location before using it
commit379a7b14f7e5854b9d6fb791e3420030d6e2705b
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 6 Mar 2017 13:23:19 +0000 (6 14:23 +0100)
committerRico Tzschichholz <ricotz@ubuntu.com>
Mon, 6 Mar 2017 13:53:42 +0000 (6 14:53 +0100)
tree5c79817d339a412645bb4e36839ca3ae186ec7f8
parent4796cc50eee4b70b674e8c0d045f79f2d6c26f98
codegen: Check there is a return error location before using it

Fixes client-side dbus generation on methods that don't throw any error.

https://bugzilla.gnome.org/show_bug.cgi?id=779652
codegen/valagdbusclientmodule.vala
tests/dbus/enum-string-marshalling.vala