Skip to content
Snippets Groups Projects
Commit 3bbbaca1 authored by rsc's avatar rsc
Browse files

move variable declaration up

parent bc011703
No related branches found
No related tags found
No related merge requests found
......@@ -21,9 +21,10 @@ struct pipe {
int
pipe_alloc(struct file **f0, struct file **f1)
{
*f0 = *f1 = 0;
struct pipe *p = 0;
struct pipe *p;
p = 0;
*f0 = *f1 = 0;
if((*f0 = filealloc()) == 0)
goto oops;
if((*f1 = filealloc()) == 0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment