You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Niklas Quarfot Nielsen (JIRA)" <ji...@apache.org> on 2015/04/04 00:25:53 UTC
[jira] [Updated] (MESOS-2494) Clang build broken with "expression
result unused" warning
[ https://issues.apache.org/jira/browse/MESOS-2494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Niklas Quarfot Nielsen updated MESOS-2494:
------------------------------------------
Fix Version/s: 0.22.1
> Clang build broken with "expression result unused" warning
> ----------------------------------------------------------
>
> Key: MESOS-2494
> URL: https://issues.apache.org/jira/browse/MESOS-2494
> Project: Mesos
> Issue Type: Bug
> Reporter: Alexander Rojas
> Assignee: Alexander Rojas
> Fix For: 0.22.1
>
>
> Commit 8385bba added code which thoroughly compares protobuf messages, however one of the changes looks like:
> {code}
> return left.task_id() == right.task_id(); // This semicolon shouldn't be here.
> left.state() == right.state() &&
> left.data() == right.data() &&
> left.message() == right.message() &&
> left.slave_id() == right.slave_id() &&
> left.timestamp() == right.timestamp() &&
> left.executor_id() == right.executor_id() &&
> left.healthy() == right.healthy() &&
> left.source() == right.source() &&
> left.reason() == right.reason() &&
> left.uuid() == right.uuid();
> {code}
> which results to clang build's failing with "expression result unused." Not to mention the given code has a bug in itself.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)