pcp
[Top] [All Lists]

Re: [pcp] compilation warnings

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: Re: [pcp] compilation warnings
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon, 15 Dec 2014 01:18:25 -0500 (EST)
Cc: PCP <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <548E7C90.9010507@xxxxxxxxxxxxxxxx>
References: <548E7C90.9010507@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: QQSMOBPR9zpztNRPXpHSC15rloDy2w==
Thread-topic: compilation warnings

----- Original Message -----
> Just a gentle reminder, that zero compilation warnings is the PCP goal.
> 
> These ones seem to have crept in recently (and yes I know one is in papi.h,
> not the PCP code, but even so, someone should be fixing it) ...
> 
> === linux_proc ===
> ...
> cgroups.c: In function âread_blkio_devices_statsâ:
> cgroups.c:744:16: warning: variable âresultâ set but not used
> [-Wunused-but-set-variable]
>      __uint64_t result = 0;
>                 ^

Hmm, this one is from me - not sure why my compiler is not complaining!
I'll fix this one up.

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>