You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Gilbert Song (JIRA)" <ji...@apache.org> on 2016/04/29 01:07:12 UTC

[jira] [Created] (MESOS-5305) 'unused parameter' warnings may occur when '-Wextra' is enabled.

Gilbert Song created MESOS-5305:
-----------------------------------

             Summary: 'unused parameter' warnings may occur when '-Wextra' is enabled.
                 Key: MESOS-5305
                 URL: https://issues.apache.org/jira/browse/MESOS-5305
             Project: Mesos
          Issue Type: Wish
         Environment: gcc, clang
            Reporter: Gilbert Song
            Priority: Trivial


Extra warmings can be enabled with `-Wextra` in gcc or clang. This does not affect functionality, but just as a noise when building mesos, or just a style issue in Cmake build.

E.g., https://github.com/apache/mesos/blob/master/3rdparty/libprocess/3rdparty/stout/include/stout/strings.hpp#L327
the `separator` parameter name can be either omitted or commented out.

another example,
https://github.com/apache/mesos/blob/master/include/mesos/slave/isolator.hpp#L84
the `containerId` parameter name.

All similar issues should be fixed together.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)