gdb/gdbserver/
2012-11-26 Yao Qi <yao@codesourcery.com> * configure.ac (build_warnings): Append '-Wempty-body'. * configure: Regenerated. * linux-low.c (linux_create_inferior): Use braces for empty 'if' body.
This commit is contained in:
parent
9c16be9afa
commit
8c29b58e98
4 changed files with 12 additions and 3 deletions
|
@ -659,7 +659,9 @@ linux_create_inferior (char *program, char **allargs)
|
|||
dup2 (2, 1);
|
||||
if (write (2, "stdin/stdout redirected\n",
|
||||
sizeof ("stdin/stdout redirected\n") - 1) < 0)
|
||||
/* Errors ignored. */;
|
||||
{
|
||||
/* Errors ignored. */;
|
||||
}
|
||||
}
|
||||
|
||||
execv (program, allargs);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue