Page MenuHomeFreeBSD

Fix build for platforms using GCC
ClosedPublic

Authored by lwhsu on May 10 2018, 4:51 PM.
Tags
None
Referenced Files
F173147207: D15383.id.diff
Wed, Sep 23, 10:33 PM
Unknown Object (File)
Sat, Sep 19, 4:29 PM
Unknown Object (File)
Sat, Sep 19, 12:42 AM
Unknown Object (File)
Wed, Sep 16, 6:59 PM
Unknown Object (File)
Wed, Sep 16, 4:14 PM
Unknown Object (File)
Wed, Sep 16, 1:41 PM
Unknown Object (File)
Sat, Sep 12, 8:51 AM
Unknown Object (File)
Mon, Sep 7, 4:31 PM
Subscribers

Details

Summary

Fix build for platforms using GCC:

  • Remove unused or dead store variable
  • Remove unused function ctl_copyin_alloc
  • Add missing curly brackets, this seems a regression in r287720

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/cam/ctl/ctl.c
8610 ↗(On Diff #42370)

I'm not 100% sure about this is right, but I highly suspect it should do so after checking https://svnweb.freebsd.org/base/head/sys/cam/ctl/ctl.c?annotate=333446#l8481

jhibbits added a subscriber: jhibbits.

If it builds, looks good to me.

This revision is now accepted and ready to land.May 10 2018, 5:05 PM
This revision was automatically updated to reflect the committed changes.