Page MenuHomeFreeBSD

posixshmtest: Fix various warnings raised by GCC.
ClosedPublic

Authored by jhb on Mon, Sep 13, 6:26 PM.

Details

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

Diff Detail

Repository
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb requested review of this revision.Mon, Sep 13, 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.Mon, Sep 13, 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.