[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-bugs] #6379 [Tor Client]: ignored return value warnings in OpenBSD_malloc
#6379: ignored return value warnings in OpenBSD_malloc
------------------------+---------------------------------------------------
Reporter: Sebastian | Owner:
Type: defect | Status: new
Priority: normal | Milestone: Tor: 0.2.3.x-final
Component: Tor Client | Version:
Keywords: | Parent:
Points: | Actualpoints:
------------------------+---------------------------------------------------
Comment(by nickm):
For our uses, I believe we could just "#if 0" out the functions using
posix_memalign entirely: we don't use those functions in Tor.
The writev ones are for last-minute error reporting, so we can't do much
more on an error than ignore it. So for them, we could add a cast to void
to suppress the warning.
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/6379#comment:3>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs