avoid assignments in declarations

This commit is contained in:
rsc 2007-08-10 17:17:42 +00:00
parent 6861140a66
commit dca5b5ca2e
8 changed files with 44 additions and 36 deletions

View file

@ -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)