Skip to content

Commit

Permalink
tg_cpphost: cmd_InteractiveBash: Address unused variable error
Browse files Browse the repository at this point in the history
  • Loading branch information
Royna2544 committed Dec 3, 2023
1 parent 8bfe3ba commit 5979aae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd_dynamic/cmd_InteractiveBash.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ static void InvaildatePipe(pipe_t fd) {
}
}

#define writeStr(fd, str) write(fd, str, sizeof(str))
#define writeStr(fd, str) (void) write(fd, str, sizeof(str))

static bool SendCommand(const std::string& str) {
int rc;
Expand Down

0 comments on commit 5979aae

Please sign in to comment.