#1426 ignoring return value of ‘fread’ in sss_debuglevel
Closed: Fixed None Opened 7 years ago by pbrezina.

When compiling with:

-m64 -mtune=generic -O3 -D_FORTIFY_SOURCE=2 -fstack-protector-all -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter

gcc produces a warning:

src/tools/sss_debuglevel.c:336:10: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]

Fields changed

keywords: => easyfix
milestone: NEEDS_TRIAGE => SSSD 1.9.0
rhbz: => 0

Fields changed

owner: somebody => mzidek

master: 2e1b46d

patch: 0 => 1
resolution: => fixed
status: new => closed

Metadata Update from @pbrezina:
- Issue assigned to mzidek
- Issue set to the milestone: SSSD 1.9.0

3 years ago

Login to comment on this ticket.