aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/glk_api.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2018-12-08 19:45:44 -0800
committerPaul Gilbert2018-12-08 19:45:44 -0800
commit34d01af00482cde23de2913e383c409fd82d96c7 (patch)
tree1e9457346b08ad65a45266820fe54be1c56f9581 /engines/glk/glk_api.cpp
parentac9830614d07d80f0c02d9d7c75d709f9d534466 (diff)
downloadscummvm-rg350-34d01af00482cde23de2913e383c409fd82d96c7.tar.gz
scummvm-rg350-34d01af00482cde23de2913e383c409fd82d96c7.tar.bz2
scummvm-rg350-34d01af00482cde23de2913e383c409fd82d96c7.zip
GLK: Fix Buildbot identified warnings
Diffstat (limited to 'engines/glk/glk_api.cpp')
-rw-r--r--engines/glk/glk_api.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/glk_api.cpp b/engines/glk/glk_api.cpp
index c24d452a50..08dce8cd12 100644
--- a/engines/glk/glk_api.cpp
+++ b/engines/glk/glk_api.cpp
@@ -1006,7 +1006,7 @@ glui32 GlkAPI::glk_schannel_play(schanid_t chan, glui32 snd) {
glui32 GlkAPI::glk_schannel_play_ext(schanid_t chan, glui32 snd, glui32 repeats, glui32 notify) {
if (chan) {
- chan->play(snd, repeats, notify);
+ return chan->play(snd, repeats, notify);
} else {
warning("schannel_play_ext: invalid ref");
return 0;