aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/jacl
diff options
context:
space:
mode:
authorPaul Gilbert2019-10-07 18:47:45 -0700
committerPaul Gilbert2019-10-07 19:01:52 -0700
commit73271448570887c4721b1f819d2818fad1f3684f (patch)
treec9bb28c84bfc4b2ae6bf25517118c8a166485c0d /engines/glk/jacl
parent1342fce6f62c1f125cc827f76d5a12b069cfe0e1 (diff)
downloadscummvm-rg350-73271448570887c4721b1f819d2818fad1f3684f.tar.gz
scummvm-rg350-73271448570887c4721b1f819d2818fad1f3684f.tar.bz2
scummvm-rg350-73271448570887c4721b1f819d2818fad1f3684f.zip
GLK: JACL: Standardizing on calls to get stream line
Diffstat (limited to 'engines/glk/jacl')
-rw-r--r--engines/glk/jacl/interpreter.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/engines/glk/jacl/interpreter.cpp b/engines/glk/jacl/interpreter.cpp
index d0ec04aa4d..1203f65840 100644
--- a/engines/glk/jacl/interpreter.cpp
+++ b/engines/glk/jacl/interpreter.cpp
@@ -490,7 +490,7 @@ int execute(const char *funcname) {
// SKIP THIS BLOCK OF PLAIN TEXT UNTIL IT FINDS A
// LINE THAT STARTS WITH A '.' OR A '}'
#ifdef GLK
- glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
+ (void)glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
#else
fgets(text_buffer, 1024, file);
#endif
@@ -505,7 +505,7 @@ int execute(const char *funcname) {
// GET THE NEXT LINE
#ifdef GLK
- glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
+ (void)glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
#else
fgets(text_buffer, 1024, file);
#endif
@@ -916,7 +916,7 @@ int execute(const char *funcname) {
if (*select_integer == 0) {
// THERE ARE NO MATCHING OBJECTS SO JUMP TO THE endselect
#ifdef GLK
- glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
+ (void)glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
#else
fgets(text_buffer, 1024, file);
#endif
@@ -929,7 +929,7 @@ int execute(const char *funcname) {
break;
}
#ifdef GLK
- glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
+ (void)glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
#else
fgets(text_buffer, 1024, file);
#endif
@@ -1693,7 +1693,7 @@ int execute(const char *funcname) {
// DISPLAYS A BLOCK OF PLAIN TEXT UNTIL IT FINDS A
// LINE THAT STARTS WITH A '.' OR A '}'
#ifdef GLK
- glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
+ (void)glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
#else
fgets(text_buffer, 1024, file);
#endif
@@ -1744,7 +1744,7 @@ int execute(const char *funcname) {
// GET THE NEXT LINE
#ifdef GLK
- glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
+ (void)glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
#else
fgets(text_buffer, 1024, file);
#endif
@@ -2358,7 +2358,7 @@ int execute(const char *funcname) {
return 0;
before_command = g_vm->glk_stream_get_position(game_stream);
- glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
+ (void)glk_get_bin_line_stream(game_stream, text_buffer, (glui32) 1024);
#else
before_command = ftell(file);
fgets(text_buffer, 1024, file);