diff options
Diffstat (limited to 'adb/client/commandline.cpp')
| -rw-r--r-- | adb/client/commandline.cpp | 9 | 
1 files changed, 2 insertions, 7 deletions
diff --git a/adb/client/commandline.cpp b/adb/client/commandline.cpp index a0818d3ed8..0ffdbc28b7 100644 --- a/adb/client/commandline.cpp +++ b/adb/client/commandline.cpp @@ -255,13 +255,8 @@ static void stdin_raw_restore() {  }  #endif -// Reads from |fd| and prints received data. If |use_shell_protocol| is true -// this expects that incoming data will use the shell protocol, in which case -// stdout/stderr are routed independently and the remote exit code will be -// returned. -// if |callback| is non-null, stdout/stderr output will be handled by it. -int read_and_dump(borrowed_fd fd, bool use_shell_protocol = false, -                  StandardStreamsCallbackInterface* callback = &DEFAULT_STANDARD_STREAMS_CALLBACK) { +int read_and_dump(borrowed_fd fd, bool use_shell_protocol, +                  StandardStreamsCallbackInterface* callback) {      int exit_code = 0;      if (fd < 0) return exit_code;  | 
