]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: add WARN_UNUSED_RESULT to client init func
authorSam Lang <sam.lang@inktank.com>
Mon, 24 Sep 2012 21:09:43 +0000 (14:09 -0700)
committerSam Lang <sam.lang@inktank.com>
Thu, 27 Sep 2012 21:34:29 +0000 (14:34 -0700)
commitff96789e46f4ede58a1a833f994eb61edcb2ad89
treeb0264dc61b9c9d873ca0dea9b01b24804aa9517f
parent27c7c71f14fec89ce67845a8f7e30ed0c26086e5
client: add WARN_UNUSED_RESULT to client init func

Adds the gcc attribute (if available) to client init functions to
ensure proper error handling.

Signed-off-by: Sam Lang <sam.lang@inktank.com>
src/client/Client.cc
src/client/Client.h
src/client/SyntheticClient.cc
src/common/compiler_extensions.h