Ian Jackson wrote: > I suggested an approach that could be used to do it > semi-automatically: > > for example, by trying to get a compiler to report all > places where a `boolean' return value is ignored. > > Nowadays GCC has features that can generate warnings when a return > value is ignored when it should not be. A way to do the review I > suggest would be to annotate the declarations all functions in apt > than can fail in that way, and then work through the resulting error > messages. Hm, interesting idea. -- Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com Ukrainian C++ Developer, Debian Maintainer, APT contributor
Attachment:
signature.asc
Description: OpenPGP digital signature