Page MenuHomeFreeBSD

ctld: Use bool in uclparse.c
ClosedPublic

Authored by jhb on Wed, Jan 22, 7:52 PM.
Tags
None
Referenced Files
F109479116: D48594.diff
Wed, Feb 5, 3:13 PM
F109410324: D48594.diff
Tue, Feb 4, 5:16 PM
Unknown Object (File)
Tue, Feb 4, 7:45 AM
Unknown Object (File)
Thu, Jan 30, 8:34 PM
Unknown Object (File)
Wed, Jan 29, 2:52 AM
Unknown Object (File)
Tue, Jan 28, 5:38 PM
Subscribers

Details

Summary

Previously these functions all returned either 0 or 1, but 0 was
success and 1 was failure. Use a bool where false indicates failure
instead which is more readable.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 61945
Build 58829: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Wed, Jan 22, 8:04 PM

I guess instead of 1 could be expected some error codes, that just never happened.

This revision now requires review to proceed.Thu, Jan 23, 7:14 PM
This revision is now accepted and ready to land.Thu, Jan 23, 7:15 PM
This revision was automatically updated to reflect the committed changes.