]> git.alsa-project.org Git - alsa-gobject.git/commit
hwdep: check whether method argument for GError is available
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 14:04:32 +0000 (23:04 +0900)
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 14:04:32 +0000 (23:04 +0900)
commit02692a3507f55e6ab6fd0ae6ffa83905593745a9
tree1368ac1501dd68125f0ab6bbf20d810b42339520
parent94d85c44abd7286a57c3e9825e42d2c62131cce4
hwdep: 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/hwdep/query.c