[
https://issues.apache.org/jira/browse/MESOS-6100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15586714#comment-15586714
]
Vinod Kone commented on MESOS-6100:
-----------------------------------
Cherry-picked to 1.0.x
commit aa6dad2117ef088ed086df760a9488e77376885d
Author: Neil Conway <[email protected]>
Date: Wed Sep 21 10:23:47 2016 -0700
Fixed an uninitialized variable warning.
Observed with clang-tidy.
Review: https://reviews.apache.org/r/52113/
> Make fails compiling 1.0.1
> ---------------------------
>
> Key: MESOS-6100
> URL: https://issues.apache.org/jira/browse/MESOS-6100
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 1.0.1
> Environment: Alpine Linux (Edge)
> GCC 6.1.1
> Reporter: Gennady Feldman
> Assignee: Kevin Klues
> Fix For: 1.0.2, 1.1.0
>
>
> linux/fs.cpp: In static member function 'static
> Try<mesos::internal::fs::MountInfoTable>
> mesos::internal::fs::MountInfoTable::read(const Option<int>&, bool)':
> linux/fs.cpp:152:27: error: 'rootParentId' may be used uninitialized in this
> function [-Werror=maybe-uninitialized]
> sortFrom(rootParentId);
> ^
> cc1plus: all warnings being treated as errors
> P.S. This is something new since I am able to compile 1.0.0 just fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)