Atoptool / atop

System and process monitor for Linux
GNU General Public License v2.0
799 stars 111 forks source link

Resolve compiler warnings from latest versions of GCC #249

Closed natoscott closed 1 year ago

natoscott commented 1 year ago

Fix an incorrect struct array null test on bdev names, i.e.

"warning: the comparison will always evaluate as ‘true’ for the address of ‘name’ will never be NULL [-Waddress]"

in disk, LVM and MD block device deviate.c calculations.