pcp
[Top] [All Lists]

[PATCH] fix new gcc warnings from sginap

To: Michael Newton <kimbrr@xxxxxxx>, Mark Goodwin <markgw@xxxxxxx>
Subject: [PATCH] fix new gcc warnings from sginap
From: Nathan Scott <nscott@xxxxxxxxxx>
Date: Mon, 27 Nov 2006 17:10:23 +1100
Cc: pcp@xxxxxxxxxxx
Organization: Aconex
Reply-to: nscott@xxxxxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
Several of the tools (e.g. pmie, pmval, and others) are producing gcc
warnings like this (I'm using a gcc 4.1.2 pre-release here)...

pmval.c: In function âsleeptillâ:
pmval.c:233: warning: value computed is not used
pmval.c:233: warning: value computed is not used

Here's what looks like the simplest way to fix this, since the return
value that we're computing-by-casting-but-not-using really isn't used
anywhere in the entire source tree.

cheers.

-- 
Nathan

Attachment: fix-sginap-warnings
Description: Text Data

<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] fix new gcc warnings from sginap, Nathan Scott <=