avoid assignments in declarations
This commit is contained in:
parent
6861140a66
commit
dca5b5ca2e
8 changed files with 44 additions and 36 deletions
|
|
@ -54,7 +54,7 @@ int
|
|||
sys_pipe(void)
|
||||
{
|
||||
int *fd;
|
||||
struct file *rf = 0, *wf = 0;
|
||||
struct file *rf, *wf;
|
||||
int fd0, fd1;
|
||||
|
||||
if(argptr(0, (void*)&fd, 2*sizeof fd[0]) < 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue