pcp
[Top] [All Lists]

Re: [pcp] compilation warnings

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, Paul Evans <pevans@xxxxxxxxxx>
Subject: Re: [pcp] compilation warnings
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 25 Jun 2013 08:03:29 -0400 (EDT)
Cc: PCP Mailing List <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <51C984EE.5010808@xxxxxxxxxxxxxxxx>
References: <51C984EE.5010808@xxxxxxxxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: fv58P9PGVEi+JUdtz4Aq1hMUFJElxA==
Thread-topic: compilation warnings

----- Original Message -----
> I'm seeing some new compilations warnings ... could those responsible for the
> associated recent code changes please take a look and see if these can be
> resolved?
> 

That'd be me for the first patch, and Paul for the latter I think.



> 
> == dpkg-buildpackage: build
> contexts.c: In function âproc_ctx_revertâ:
> contexts.c:136:9: warning: ignoring return value of âseteuidâ, declared with
> attribute warn_unused_result [-Wunused-result]
> contexts.c:138:9: warning: ignoring return value of âsetegidâ, declared with
> attribute warn_unused_result [-Wunused-result]
> contexts.c: In function âproc_ctx_accessâ:
> contexts.c:119:9: warning: ignoring return value of âseteuidâ, declared with
> attribute warn_unused_result [-Wunused-result]
> contexts.c:121:9: warning: ignoring return value of âsetegidâ, declared with
> attribute warn_unused_result [-Wunused-result]
> lock_time.c: In function âgfs2_refresh_lock_timeâ:
> lock_time.c:281:13: warning: âglockA.queueâ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.queueâ was declared here
> lock_time.c:281:13: warning: âglockA.dlmâ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.dlmâ was declared here
> lock_time.c:240:31: warning: âglockA.sirtvarâ may be used uninitialized in
> this function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.sirtvarâ was declared here
> lock_time.c:240:31: warning: âglockA.sirtâ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.sirtâ was declared here
> lock_time.c:240:31: warning: âglockA.srttvarbâ may be used uninitialized in
> this function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.srttvarbâ was declared here
> lock_time.c:240:31: warning: âglockA.srttbâ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.srttbâ was declared here
> lock_time.c:240:31: warning: âglockA.srttvarâ may be used uninitialized in
> this function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.srttvarâ was declared here
> lock_time.c:240:31: warning: âglockA.srttâ may be used uninitialized in this
> function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.srttâ was declared here
> lock_time.c:240:31: warning: âglockA.numberâ may be used uninitialized in
> this function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.numberâ was declared here
> lock_time.c:240:31: warning: âglockA.lock_typeâ may be used uninitialized in
> this function [-Wmaybe-uninitialized]
> lock_time.c:189:30: note: âglockA.lock_typeâ was declared here
> 
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp
> 

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