]> 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)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Fri, 13 Nov 2020 23:30:49 +0000 (08:30 +0900)
commit0c55e971f46229a23f4d87eadcd1bd44e61f37dd
tree4765e137847442d77b2b23507e6638f83da7a68b
parent2e6e71c59453880ca50deb8d598c15d5963f30a6
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