Page MenuHomePhabricator

Fix missing-braces warnings.
Open, Needs TriagePublic

Description

We should fix all these warnings, by adding the additional braces as required.

../../src/test/amount_tests.cpp:87:38: warning: suggest braces around initialization of subobject [-Wmissing-braces]
    std::array<int64_t, 8> values = {-23, -1, 0, 1, 2, 3, 42, 99999999};
                                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                     {                                }

Event Timeline

schancel created this task.Jan 22 2018, 18:50
schancel updated the task description. (Show Details)

This flag should be added as part of the build as it is not a default on all the plateforms.