]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/FileStore::OpSequencer: operator<<: silence gcc warning
authorKefu Chai <kchai@redhat.com>
Tue, 12 Apr 2016 02:45:32 +0000 (10:45 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 22 Apr 2016 13:33:55 +0000 (21:33 +0800)
commit323a3f8022009c668be23b0fc9476d9ebc9fd915
tree5035cf2b234daf8e0b58e590b50913551371595b
parent8e58fe6a55459a81dc554cc908bb391b934ccea3
os/FileStore::OpSequencer: operator<<: silence gcc warning

it kills following warning:
```
/home/kefu/dev/ceph/src/os/filestore/FileStore.cc: In function
‘std::ostream& operator<<(std::ostream&, const
FileStore::OpSequencer&)’:
/home/kefu/dev/ceph/src/os/filestore/FileStore.cc:155:132: warning: the
compiler can assume that the address of ‘out’ will always evaluate to
‘true’ [-Waddress]
   assert(&out);
```

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/os/filestore/FileStore.cc