[ 
https://issues.apache.org/jira/browse/IMPALA-12074?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17714650#comment-17714650
 ] 

ASF subversion and git services commented on IMPALA-12074:
----------------------------------------------------------

Commit 3d23a650fdabd780462e2e0b42cbac5230102528 in impala's branch 
refs/heads/master from Daniel Becker
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=3d23a650f ]

IMPALA-12074: Add the WARN_UNUSED_RESULT attribute to methods of BitWriter that 
can fail

Many methods of BitWriter signal failure via the return value. These
return values should not be discarded because the failures are not
detected then.

This change adds the 'WARN_UNUSED_RESULT' attribute to these methods so
the compiler can check that the return value is not discarded.

Change-Id: I97ddba8057f71b6ebbed5b89b12d81c659ce98ae
Reviewed-on: http://gerrit.cloudera.org:8080/19771
Reviewed-by: Csaba Ringhofer <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>


> Add the WARN_UNUSED_RESULT attribute to methods of BitWriter that can fail
> --------------------------------------------------------------------------
>
>                 Key: IMPALA-12074
>                 URL: https://issues.apache.org/jira/browse/IMPALA-12074
>             Project: IMPALA
>          Issue Type: Improvement
>          Components: Backend
>            Reporter: Daniel Becker
>            Assignee: Daniel Becker
>            Priority: Major
>
> Many methods of BitWriter signal failure via the return value. These return 
> values should not be discarded because failures are not noticed then.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to