From a276c7097ecf6222c6618dcd71d0c4944fc6b106 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Thu, 1 Mar 2018 07:02:00 -0800 Subject: [PATCH] doc: init flags to 0 in rados example Signed-off-by: Patrick Donnelly --- doc/rados/api/librados-intro.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/rados/api/librados-intro.rst b/doc/rados/api/librados-intro.rst index 9ebb05b46496..c63a255897c0 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; -- 2.47.3