! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Full debug - non-null expected
Status:
RESOLVED: FIXED
Product:
Xfce4-sensors-plugin
Component:
General

Comments

Description poma 2017-02-22 22:05:53 CET
Created attachment 7020 
Full debug - non-null expected

acpi.c: In function ‘read_thermal_zone’:
acpi.c:111:13: error: argument 1 null where non-null expected [-Werror=nonnull]
             closedir (ptr_directory);
             ^~~~~~~~~~~~~~~~~~~~~~~~
Comment 1 Fabian Nowak editbugs 2017-02-22 23:56:31 CET
and just recently it looked odd to me...; but why does your compiler/configure stuff complain while mine doesn't? Maybe I should enforce this very helpful warning as compiler option when enabling debug compile.

52e5cb6..a5d2674
Comment 2 Fabian Nowak editbugs 2017-02-27 20:11:03 CET
In configure.ac.in now as well for the --enable-debug autogen flag. Thanks a lot for the idea!

Bug #13376

Reported by:
poma
Reported on: 2017-02-22
Last modified on: 2017-02-27

People

Assignee:
Fabian Nowak
CC List:
0 users

Version

Version:
unspecified

Attachments

Full debug - non-null expected (1.78 KB, text/plain)
2017-02-22 22:05 CET , poma
no flags

Additional information