]> git.alsa-project.org Git - alsa-gobject.git/commit
rawmidi: check whether method argument for GError is available
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 02:45:41 +0000 (11:45 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Mon, 16 Nov 2020 12:04:53 +0000 (21:04 +0900)
commit3ab4e28666ab4b5ea32fe87795df0a9dad57a5ee
tree60e612083c64899ce0a31064e76065564b3eee40
parent08bccc4f21e3a3a2ee598198dab2f8aeb2f31be5
rawmidi: 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/rawmidi/query.c
src/rawmidi/stream-pair.c