From: Kefu Chai Date: Mon, 7 May 2018 07:18:40 +0000 (+0800) Subject: auth: silence -Wparentheses warning X-Git-Tag: v13.2.0~37^2~23 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=a7495194ff65c45f60329cb61855172e5084d5a3;p=ceph.git auth: silence -Wparentheses warning this change silences following warning: warning: unnecessary parentheses in declaration of ‘os’ [-Wparentheses] std::ostringstream(os); ^ Signed-off-by: Kefu Chai (cherry picked from commit b6fe1fec148cf5bcd9a8d780c993dbebc83b860d) --- diff --git a/src/auth/KeyRing.cc b/src/auth/KeyRing.cc index b8f5de5c3ea4..832cae0a346b 100644 --- a/src/auth/KeyRing.cc +++ b/src/auth/KeyRing.cc @@ -128,7 +128,6 @@ void KeyRing::encode_plaintext(bufferlist& bl) void KeyRing::encode_formatted(string label, Formatter *f, bufferlist& bl) { - std::ostringstream(os); f->open_array_section(label.c_str()); for (map::iterator p = keys.begin(); p != keys.end();