Explicitly cast unused results to void

svn path=/trunk/netsurf/; revision=11596
This commit is contained in:
John Mark Bell 2011-02-01 21:50:34 +00:00
parent 13d2e98c99
commit 656a2d20c1

View File

@ -418,7 +418,7 @@ static inline int _talloc_free(void *ptr)
struct talloc_chunk *p = talloc_parent_chunk(ptr);
if (p) new_parent = TC_PTR_FROM_CHUNK(p);
}
talloc_steal(new_parent, child);
(void) talloc_steal(new_parent, child);
}
}
@ -563,7 +563,7 @@ int talloc_unlink(const void *context, void *ptr)
return -1;
}
talloc_steal(new_parent, ptr);
(void) talloc_steal(new_parent, ptr);
return 0;
}
@ -718,7 +718,7 @@ void talloc_free_children(void *ptr)
struct talloc_chunk *p = talloc_parent_chunk(ptr);
if (p) new_parent = TC_PTR_FROM_CHUNK(p);
}
talloc_steal(new_parent, child);
(void) talloc_steal(new_parent, child);
}
}
}