Bug 80767

Summary: [patches] Warning cleanups
Product: PolicyKit Reporter: Miloslav Trmac <mitr>
Component: daemonAssignee: David Zeuthen (not reading bugmail) <zeuthen>
Status: RESOLVED FIXED QA Contact: David Zeuthen (not reading bugmail) <zeuthen>
Severity: normal    
Priority: medium CC: walters
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: 0001-Fix-a-possible-NULL-dereference.patch
0002-Remove-a-redundant-assignment.patch
0003-Explicitly-cast-a-no-effect-reference-to-void.patch
0004-Fix-a-typo-s-Evaluting-Evaluating-g.patch
0005-s-INCLUDES-AM_CPPFLAGS-g.patch

Description Miloslav Trmac 2014-07-01 18:40:49 UTC
... just because I’m compulsive about a clean build.  This series fixes various Coverity- and Eclipse- reported problems and ugliness.

(Can easily enough wait after the next release.)
Comment 1 Miloslav Trmac 2014-07-01 18:49:56 UTC
Created attachment 102089 [details] [review]
0001-Fix-a-possible-NULL-dereference.patch
Comment 2 Miloslav Trmac 2014-07-01 18:50:11 UTC
Created attachment 102090 [details] [review]
0002-Remove-a-redundant-assignment.patch
Comment 3 Miloslav Trmac 2014-07-01 18:50:28 UTC
Created attachment 102091 [details] [review]
0003-Explicitly-cast-a-no-effect-reference-to-void.patch
Comment 4 Miloslav Trmac 2014-07-01 18:50:41 UTC
Created attachment 102092 [details] [review]
0004-Fix-a-typo-s-Evaluting-Evaluating-g.patch
Comment 5 Miloslav Trmac 2014-07-01 18:50:53 UTC
Created attachment 102093 [details] [review]
0005-s-INCLUDES-AM_CPPFLAGS-g.patch
Comment 6 Colin Walters 2015-06-03 20:15:29 UTC
Comment on attachment 102089 [details] [review]
0001-Fix-a-possible-NULL-dereference.patch

Review of attachment 102089 [details] [review]:
-----------------------------------------------------------------

LGTM
Comment 7 Colin Walters 2015-06-03 20:15:54 UTC
Comment on attachment 102090 [details] [review]
0002-Remove-a-redundant-assignment.patch

Review of attachment 102090 [details] [review]:
-----------------------------------------------------------------

Right.
Comment 8 Colin Walters 2015-06-03 20:16:50 UTC
Comment on attachment 102091 [details] [review]
0003-Explicitly-cast-a-no-effect-reference-to-void.patch

Review of attachment 102091 [details] [review]:
-----------------------------------------------------------------

I think I'd be more in favor of the (void) POLKIT_ERROR; but it's up to you if you want to redo it or just commit as is.
Comment 9 Colin Walters 2015-06-03 20:17:11 UTC
Comment on attachment 102092 [details] [review]
0004-Fix-a-typo-s-Evaluting-Evaluating-g.patch

Review of attachment 102092 [details] [review]:
-----------------------------------------------------------------

Yes.
Comment 10 Colin Walters 2015-06-03 20:17:25 UTC
Comment on attachment 102093 [details] [review]
0005-s-INCLUDES-AM_CPPFLAGS-g.patch

Review of attachment 102093 [details] [review]:
-----------------------------------------------------------------

Yep.
Comment 11 Miloslav Trmac 2015-06-08 15:45:13 UTC
Thanks, fixed. Went with (void) POLKIT_ERROR; instead of patch 3.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.