Page MenuHomeFreeBSD

pctrie_lookup_range: don't write the null
ClosedPublic

Authored by dougm on Wed, May 14, 4:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, May 25, 12:32 PM
Unknown Object (File)
Sun, May 18, 6:41 PM
Unknown Object (File)
Sun, May 18, 6:17 PM
Unknown Object (File)
Sun, May 18, 6:16 PM
Unknown Object (File)
Sun, May 18, 5:28 AM
Unknown Object (File)
Sat, May 17, 12:56 PM
Unknown Object (File)
Fri, May 16, 9:16 PM
Unknown Object (File)
Fri, May 16, 2:44 PM
Subscribers

Details

Summary

There's no reason to write the NULL pointer value into the array when pctrie_lookup_range finds an item missing.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dougm requested review of this revision.Wed, May 14, 4:21 PM
dougm created this revision.
This revision is now accepted and ready to land.Wed, May 14, 11:43 PM
This revision was automatically updated to reflect the committed changes.