Follow-up to https://codereview.chromium.org/938853002

Address comments of RCH

BUG=none

Review URL: https://codereview.chromium.org/934383002

Cr-Commit-Position: refs/heads/master@{#316945}
diff --git a/net/tools/quic/quic_client_bin.cc b/net/tools/quic/quic_client_bin.cc
index 66517ca9..259111f 100644
--- a/net/tools/quic/quic_client_bin.cc
+++ b/net/tools/quic/quic_client_bin.cc
@@ -125,10 +125,7 @@
     FLAGS_host = line->GetSwitchValueASCII("host");
   }
   if (line->HasSwitch("port")) {
-    int port;
-    if (base::StringToInt(line->GetSwitchValueASCII("port"), &port)) {
-      FLAGS_port = port;
-    } else {
+    if (!base::StringToInt(line->GetSwitchValueASCII("port"), &FLAGS_port)) {
       std::cerr << "--port must be an integer\n";
       return 1;
     }