[procps] minor bug in sysctl

  • From: Craig Small <csmall-procps@xxxxxxxxxx>
  • To: procps@xxxxxxxxxxxxx
  • Date: Sun, 7 Apr 2013 08:49:07 +1000

On Tue, Mar 26, 2013 at 09:21:51AM +0100, g.esp@xxxxxxx wrote:
> this other warning indicate bogus code
> sysctl.c: In function 'main':
> sysctl.c:767: warning: value computed is not used

>                               ret != Preload(DEFAULT_PRELOAD); <= this is 
> line 767

You know, I looked at this for ages wondering what it was doing.
You silly compilier, it returns ret at line 776! What are you doing?

Until..... oh, that's an exclamation point.

 - Craig
-- 
Craig Small VK2XLZ   http://enc.com.au/          csmall at : enc.com.au
Debian GNU/Linux     http://www.debian.org/      csmall at : debian.org
GPG fingerprint:     5D2F B320 B825 D939 04D2  0519 3938 F96B DF50 FEA5

Other related posts:

  • » [procps] minor bug in sysctl - Craig Small