object was previously being used uninitialized in the OBJT_DEFAULT case. Looks like this was introduced in r283998.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
This is fine though I probably would have preferred to set object to NULL only in the OBJT_DEFAULT case so it is more explicit as to when that value is used.
Comment Actions
This could be done separately (the patch is already committed), together with the cleanup of the OBJT_DEVICE case, which is to remove the block and move local vars declaration to the function top level.