summaryrefslogtreecommitdiffhomepage
path: root/mixlib
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2006-08-05 11:40:03 +0000
committerJose Antonio Ortega Ruiz <jao@gnu.org>2006-08-05 11:40:03 +0000
commit50d84971036f5f18ef3ab1b17c006682815f6941 (patch)
tree696fa17e7427010a18e2dc9f9166bb7ff6cea95f /mixlib
parent6a62bd9cd7e5b84b85851d66841695d09ab28873 (diff)
downloadmdk-50d84971036f5f18ef3ab1b17c006682815f6941.tar.gz
mdk-50d84971036f5f18ef3ab1b17c006682815f6941.tar.bz2
Compilation warnings fixed
git-archimport-id: mdk@sv.gnu.org/mdk--devel--1--patch-9
Diffstat (limited to 'mixlib')
-rw-r--r--mixlib/mix_io.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mixlib/mix_io.c b/mixlib/mix_io.c
index 31e43df..526b5b6 100644
--- a/mixlib/mix_io.c
+++ b/mixlib/mix_io.c
@@ -1,7 +1,7 @@
/* -*-c-*- --------------- mix_io.c :
* Implementation of the functions declared in mix_io.h
* ------------------------------------------------------------------
- * Copyright (C) 2000, 2004 Free Software Foundation, Inc.
+ * Copyright (C) 2000, 2004, 2006 Free Software Foundation, Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -82,7 +82,7 @@ mix_byte_t
mix_io_read_byte (mix_iochannel_t *ioc)
{
mix_byte_t result = MIX_BYTE_ZERO;
- if (ioc != NULL) read_data_ (ioc, &result, 1);
+ if (ioc != NULL) (void)read_data_ (ioc, &result, 1);
return result;
}
@@ -109,7 +109,7 @@ mix_word_t
mix_io_read_word (mix_iochannel_t *ioc)
{
mix_word_t result = MIX_WORD_ZERO;
- if (ioc != NULL) read_data_ (ioc, &result, 1);
+ if (ioc != NULL) (void)read_data_ (ioc, &result, 1);
return result;
}
@@ -136,7 +136,7 @@ mix_short_t
mix_io_read_short (mix_iochannel_t *ioc)
{
mix_short_t result = MIX_SHORT_ZERO;
- if (ioc != NULL) read_data_ (ioc, &result, 1);
+ if (ioc != NULL) (void)read_data_ (ioc, &result, 1);
return result;
}
@@ -157,7 +157,7 @@ mix_char_t
mix_io_read_char (mix_iochannel_t *ioc)
{
guchar value = MIX_CHAR_MAX;
- if (ioc != NULL) read_data_ (ioc, &value, 1);
+ if (ioc != NULL) (void)read_data_ (ioc, &value, 1);
return mix_ascii_to_char (value);
}