]> 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)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Sun, 15 Nov 2020 23:57:30 +0000 (08:57 +0900)
commitf28e149c0bcedf10e6f49dad46f91fbbb0f96f6c
tree1368ac1501dd68125f0ab6bbf20d810b42339520
parent24dbdf74242c98adfa1fdba29a60499bc97ea296
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