OSDN Git Service

DO NOT MERGE Remove "if (auto ret = " treated as unused by some compilers
authorRobin Lee <rgl@google.com>
Thu, 1 Dec 2016 19:03:33 +0000 (19:03 +0000)
committerMichal Karpinski <mkarpinski@google.com>
Fri, 2 Dec 2016 16:11:19 +0000 (16:11 +0000)
commit2169f5a0ffbf5ccb1e360a581bd632f53a896847
tree5ccfda727d7209b688e46c75e7823e5ccdd3d7f1
parent8ef9907bdbbeaae00be914c77f3425e2e31c2f28
DO NOT MERGE Remove "if (auto ret = " treated as unused by some compilers

It's not good form to have a variable that's created and used only once
in the same line anyway, so the compilers that flag it are probably in
the right.

Test: netd_benchmark
Bug: 29748723

(cherry picked from commit e65244b5a149fc8be8063ee0872f31b829bfa020)

Change-Id: I80b8c321087947c08d5d5b9cb6ca7b4987b2ac77
tests/benchmarks/connect_benchmark.cpp