]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
common/lockdep: do not set std::string using braces 18351/head
authorKefu Chai <kchai@redhat.com>
Tue, 17 Oct 2017 12:11:38 +0000 (20:11 +0800)
committerKefu Chai <kchai@redhat.com>
Tue, 17 Oct 2017 12:11:40 +0000 (20:11 +0800)
commita27668bf5fb62114e0328b52d4a4a3f9c4c21ef9
treeab71e29aa386e3828463bfd7b9cd35c779737a15
parent1be9dd81651a40407f36efa1a2462c807afaca61
common/lockdep: do not set std::string using braces

this silences follow warning from clang:

ceph/src/common/lockdep.cc:219:12: warning: braces around scalar initializer [-Wbraced-scalar-init]
    name = { "unknown" };
           ^~~~~~~~~~~~~
1 warning generated.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/common/lockdep.cc