1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* addr2line.c (putce): suppress unused return value warning.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@39921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
kosaki 2013-03-24 21:00:03 +00:00
parent b63580b50f
commit b95336b2fe
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,7 @@
Sun Mar 24 10:38:24 2013 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
* addr2line.c (putce): suppress unused return value warning.
Mon Mar 25 02:01:03 2013 Narihiro Nakamura <authornari@gmail.com>
* proc.c (bm_free): need to clean up the mark flag of a free and

View file

@ -694,8 +694,11 @@ static int kvprintf(char const *fmt, void (*func)(int), void *arg, int radix, va
static void putce(int c)
{
char s[1];
ssize_t ret;
s[0] = (char)c;
write(2, s, 1);
ret = write(2, s, 1);
(void)ret;
}
int