Commit 38088989 authored by Steve Langasek's avatar Steve Langasek
Browse files

Drop an unnecessary null check; as coverity points out this can never be null

parent d0bce325
......@@ -2105,8 +2105,7 @@ spawn (Mount * mnt,
proc->mnt = mnt;
proc->args = args;
if (proc->args)
nih_ref (proc->args, proc);
nih_ref (proc->args, proc);
proc->pid = pid;
proc->handler = handler;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment