Page MenuHomePhabricator

Fix missing-braces warnings.
Closed, ResolvedPublic

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 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.

jasonbcox claimed this task.