#3820: [PATCH] Fix 31 build warnings
----------------------+----------------------
Reporter: flatcap | Owner: mutt-dev
Type: defect | Status: new
Priority: minor | Milestone:
Component: build | Version: 1.5.24
Resolution: | Keywords: patch
----------------------+----------------------
Comment (by vinc17):
This patch may avoid warnings, but modifies the code! For instance, on
buffy.c, the patch is obviously incorrect. If you have:
{{{
tmp = NULL;
tmp = Incoming;
}}}
removing the second assignment yields different code.
Also, instead of removing assignments of error return value, the right
thing to do would be to test this return value.
--
Ticket URL: <https://dev.mutt.org/trac/ticket/3820#comment:1>
Mutt <http://www.mutt.org/>
The Mutt mail user agent