Re: systat: return for non-void function

2017-07-29 Thread Florian Obser
On Fri, Jul 28, 2017 at 02:31:02PM +, Florian Obser wrote: > > pointed out by clang > > OK? > comon, don't be shy, this is an easy one... maybe with a bit more context? This is an error return: diff --git usr.bin/systat/pool.c usr.bin/systat/pool.c index b6691ae0da6..3b289446522 100644

systat: return for non-void function

2017-07-28 Thread Florian Obser
pointed out by clang OK? diff --git pool.c pool.c index b6691ae0da6..3b289446522 100644 --- pool.c +++ pool.c @@ -496,6 +496,7 @@ unalloc: pc = _caches[--i]; free(pc->cache_cpus); } + return (-1); } void -- I'm not entirely sure you are real.