CMake Warning: Manually-specified variables were not used by the project: CMAKE_LD_FLAGS ECM_MKSPECS_INSTALL_DIR /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp: In member function ‘virtual void LinuxMemoryBackend::update()’: /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:58:21: warning: ‘total’ may be used uninitialized [-Wmaybe-uninitialized] 58 | m_used->setValue(total - available); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:32:24: note: ‘total’ was declared here 32 | unsigned long long total, free, available, buffer, cache, slab, swapTotal, swapFree; | ^~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:32:31: warning: ‘free’ may be used uninitialized [-Wmaybe-uninitialized] 32 | unsigned long long total, free, available, buffer, cache, slab, swapTotal, swapFree; | ^~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:58:21: warning: ‘available’ may be used uninitialized [-Wmaybe-uninitialized] 58 | m_used->setValue(total - available); | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:32:37: note: ‘available’ was declared here 32 | unsigned long long total, free, available, buffer, cache, slab, swapTotal, swapFree; | ^~~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:60:50: warning: ‘buffer’ may be used uninitialized [-Wmaybe-uninitialized] 60 | m_application->setValue(total - free - cache - buffer - slab); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:32:48: note: ‘buffer’ was declared here 32 | unsigned long long total, free, available, buffer, cache, slab, swapTotal, swapFree; | ^~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:61:22: warning: ‘cache’ may be used uninitialized [-Wmaybe-uninitialized] 61 | m_cache->setValue(cache + slab); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:32:56: note: ‘cache’ was declared here 32 | unsigned long long total, free, available, buffer, cache, slab, swapTotal, swapFree; | ^~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:61:22: warning: ‘slab’ may be used uninitialized [-Wmaybe-uninitialized] 61 | m_cache->setValue(cache + slab); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:32:63: note: ‘slab’ was declared here 32 | unsigned long long total, free, available, buffer, cache, slab, swapTotal, swapFree; | ^~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:64:25: warning: ‘swapTotal’ may be used uninitialized [-Wmaybe-uninitialized] 64 | m_swapUsed->setValue(swapTotal - swapFree); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:32:69: note: ‘swapTotal’ was declared here 32 | unsigned long long total, free, available, buffer, cache, slab, swapTotal, swapFree; | ^~~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:65:25: warning: ‘swapFree’ may be used uninitialized [-Wmaybe-uninitialized] 65 | m_swapFree->setValue(swapFree); | ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/memory/linuxbackend.cpp:32:80: note: ‘swapFree’ was declared here 32 | unsigned long long total, free, available, buffer, cache, slab, swapTotal, swapFree; | ^~~~~~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/cpu/linuxcpuplugin.cpp: In member function ‘void LinuxCpuPluginPrivate::addSensorsAmd(const sensors_chip_name*)’: /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/cpu/linuxcpuplugin.cpp:241:29: warning: variable ‘tccd’ set but not used [-Wunused-but-set-variable] 241 | sensors_feature const * tccd[8] = {nullptr}; | ^~~~ /var/pisi/ksystemstats-6.3.2-37/work/ksystemstats-6.3.2/plugins/gpu/LinuxBackend.cpp:20:20: warning: ‘intelVendor’ defined but not used [-Wunused-variable] 20 | static const char *intelVendor = "0x8086"; | ^~~~~~~~~~~