trulyspinach / SMCAMDProcessor

Power management, monitoring and VirtualSMC plugin for AMD processors
BSD 3-Clause "New" or "Revised" License
1.04k stars 90 forks source link

Fix 'Prefer checking `isEmpty` over comparing `count` to zero.' issue in AMD Power Gadget\GraphView\GraphView.swift #105

Closed trulyspinach closed 3 years ago

trulyspinach commented 3 years ago

CodeFactor found an issue: Prefer checking isEmpty over comparing count to zero.

It's currently on: AMD Power Gadget\GraphView\GraphView.swift:242 Commit 912ade0cdfa35f4aec300a65d94677be5f4f710d