Page MenuHomeFreeBSD

posixshmtest: Fix various warnings raised by GCC.
ClosedPublic

Authored by jhb on Sep 13 2021, 6:26 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Jul 22, 12:59 PM
Unknown Object (File)
Sun, Jul 19, 11:25 PM
Unknown Object (File)
Sun, Jul 12, 8:46 PM
Unknown Object (File)
Thu, Jul 9, 6:23 PM
Unknown Object (File)
Sun, Jul 5, 12:30 AM
Unknown Object (File)
Sat, Jul 4, 8:13 AM
Unknown Object (File)
Sat, Jul 4, 8:10 AM
Unknown Object (File)
Fri, Jul 3, 8:10 PM
Subscribers

Details

Summary
  • Remove unused format string arguments.
  • Remove a set but unused variable.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41500
Build 38389: arc lint + arc unit

Event Timeline

jhb requested review of this revision.Sep 13 2021, 6:26 PM
kib added inline comments.
tests/sys/posixshm/posixshm_test.c
1108

Perhaps idea was to print out errno.

This revision is now accepted and ready to land.Sep 13 2021, 6:52 PM
tests/sys/posixshm/posixshm_test.c
1108

So I did that initially, but check_content_dealloc() doesn't always set errno when it fails, so I believe this was likely a copy-paste error.