mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-22 06:21:45 +03:00
Explicitly cast unused results to void
svn path=/trunk/netsurf/; revision=11596
This commit is contained in:
parent
13d2e98c99
commit
656a2d20c1
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user