diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-23 09:41:22 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2011-09-23 09:58:11 +0200 |
commit | 7deb194171233af0fd3689cc1cd2f9b772d883d0 (patch) | |
tree | 18ad4879908cdbfe2aef2c332aa91182ff78555f /src/io.c | |
parent | 178fc8a562cded476ed2872df47e17e001380da6 (diff) | |
download | cmumble-7deb194171233af0fd3689cc1cd2f9b772d883d0.tar.gz cmumble-7deb194171233af0fd3689cc1cd2f9b772d883d0.tar.bz2 cmumble-7deb194171233af0fd3689cc1cd2f9b772d883d0.zip |
Fix warnings
Diffstat (limited to 'src/io.c')
-rw-r--r-- | src/io.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -29,6 +29,8 @@ read_cb(GIOChannel *source, GIOCondition condition, gpointer data) rl_callback_read_char(); global_rl_user_data = NULL; } + + return TRUE; } static void @@ -117,6 +119,8 @@ cmumble_io_init(struct context *ctx) rl_callback_handler_install("cmumble> ", process_line); g_set_print_handler(print_preserve_prompt); + + return 0; } int @@ -130,4 +134,5 @@ cmumble_io_fini(struct context *ctx) return -1; } + return 0; } |