Re: [exim] Exim 4.89 compile warning on Ubuntu 14.04

Kezdőlap
Üzenet törlése
Válasz az üzenetre
Szerző: Jeremy Harris
Dátum:  
Címzett: exim-users
Tárgy: Re: [exim] Exim 4.89 compile warning on Ubuntu 14.04
On 08/03/17 09:05, Michael J. Tubby B.Sc. MIET wrote:
> and believing that cleanliness is next to godliness have fixed the
> warning by removing the (void) cast over the write function and
> assigning the return value to variable 'sz'.


> sz = write(fd, process_info, process_info_len);
> close(fd);
> }


... and you just _know_ that the <swearword> static analysers
next year will be telling you that you assigned this variable
and then never used it.

It's a mug's game. Unfortunately.
--
Cheers,
Jeremy