From: Patrick Donnelly Date: Thu, 1 Mar 2018 15:02:00 +0000 (-0800) Subject: doc: init flags to 0 in rados example X-Git-Tag: v13.0.2~112^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a276c7097ecf6222c6618dcd71d0c4944fc6b106;p=ceph.git doc: init flags to 0 in rados example Signed-off-by: Patrick Donnelly --- diff --git a/doc/rados/api/librados-intro.rst b/doc/rados/api/librados-intro.rst index 9ebb05b464969..c63a255897c0f 100644 --- a/doc/rados/api/librados-intro.rst +++ b/doc/rados/api/librados-intro.rst @@ -277,7 +277,7 @@ it and connecting to the cluster might look something like this: rados_t cluster; char cluster_name[] = "ceph"; char user_name[] = "client.admin"; - uint64_t flags; + uint64_t flags = 0; /* Initialize the cluster handle with the "ceph" cluster name and the "client.admin" user */ int err;