Re: [PATCH] zlib: fix compilation failures with Sun C Compilaer
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- Apr 22, 2013, 21:41 UTC
- Message-ID
- <CAPig+cQQiwumaswnKf1A-e5Rk4BHpRQqhqbL0p8zkmDnZ=Cbtg@mail.gmail.com>
- In-Reply-To
- <97eabaedd6cd7d876812474a35fa2d3d63dfec4a.1366647415.git.stefano.lattarini@gmail.com>
On Mon, Apr 22, 2013 at 12:18 PM, Stefano Lattarini <stefano.lattarini@gmail.com> wrote:
> zlib: fix compilation failures with Sun C Compilaer
s/Compilaer/compiler/
Show 9 quoted lines
> Do this by removing a couple of useless return statements. Without this > change, compilation with Sun C Compiler 5.9 (SunOS_i386 Patch 124868-15 > 2010/08/11) fails with the following message: > > "zlib.c", line 192: void function cannot return value > "zlib.c", line 201: void function cannot return value > cc: acomp failed for zlib.c > > Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>