]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rgw: Error check on return of read_line() 17880/head
authoramitkuma <amitkuma@redhat.com>
Thu, 21 Sep 2017 14:16:23 +0000 (19:46 +0530)
committeramitkuma <amitkuma@redhat.com>
Thu, 21 Sep 2017 14:16:23 +0000 (19:46 +0530)
commitc6737e1b8aab62e7dd509f1ff87a85f4a8278699
tree48ebf5572785fce9ccaa4b06372871e854c802a7
parent998bf1b43ca9118ce7516819826f0cf7bbfc273e
rgw: Error check on return of read_line()

** 1406089 Unused value
CID 1406089 (#1 of 1): Unused value (UNUSED_VALUE)
returned_value: Assigning value from this->read_line
(bl, chunk_size, reached_boundary, done) to r here,
but that stored value is overwritten before it can be used.

Signed-off-by: Amit Kumar <amitkuma@redhat.com>
src/rgw/rgw_rest.cc