HomeFreeBSD

The variable 'error' in sys_poll() is initialized in declaration to value
rS237195Unpublished

Unpublished Commit ยท Learn More

No further details are available.

Description

The variable 'error' in sys_poll() is initialized in declaration to value
zero but in any case is overwritten by successive copyin(), making the
previous initialization useless. Remove this.
As an added bonus this fixes a style(9) bug.

Discussed with: kib
Approved by: gnn (mentor)
MFC after: 3 days

Details

Provenance
davideAuthored on
Parents
rS237194: Remove end of line whitespace.
Branches
Unknown
Tags
Unknown

Event Timeline