]> git.alsa-project.org Git - alsa-gobject.git/commit
ctl: check whether method argument for GError is available
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 07:26:26 +0000 (16:26 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 07:29:58 +0000 (16:29 +0900)
commit0c961c15ff80a60f778153238c3f226c73c4f798
tree4765e137847442d77b2b23507e6638f83da7a68b
parentbcf512a3bfe4010b1d6633393f3687b42ada402b
ctl: check whether method argument for GError is available

In Rules for use of GError, the check of arguments for GError may be
preferable to avoid to unexpected function call.

This commit adds the check.

Reference: https://developer.gnome.org/glib/stable/glib-Error-Reporting.html
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/ctl/card.c
src/ctl/elem-info.c
src/ctl/query.c