]> git.alsa-project.org Git - alsa-gobject.git/commit
rawmidi: stream_pair: just return when character device is not opened
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)
commit97d3d21afe71a41a756f66accce13c4e71e5962c
tree9f1b8a076516095dd03a96b5c9c8c26f7de0e872
parent5e8a772b092c42443986c14bc53a9e42f9b33ee3
rawmidi: stream_pair: just return when character device is not opened

It's programming mistake when operating without opening character device.

This commit uses GLib macro just return in the case with warnings.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
src/rawmidi/stream-pair.c