Commit 0503324f authored by Robert Sprowson's avatar Robert Sprowson
Browse files

Remove redundant assignment to error pointer

Pointer 'e' can't be returned as it's an argument to the function, so don't assign a result to it.
Found by cppcheck.
Tagged as Common-0_26-1 since no net code change.
parent ff99ff7e
......@@ -209,7 +209,7 @@ extern void raise_toolbox_oserror (_kernel_oserror *e, ObjectID object_id, Compo
regs.r[2] = component_id;
regs.r[3] = (int) &error_block;
e = _kernel_swi (Toolbox_RaiseToolboxEvent, &regs, &regs);
_kernel_swi (Toolbox_RaiseToolboxEvent, &regs, &regs);
}
......
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