parca-dev / parca

Continuous profiling for analysis of CPU and memory usage, down to the line number and throughout time. Saving infrastructure cost, improving performance, and increasing reliability.
https://parca.dev/
Apache License 2.0
4.17k stars 217 forks source link

remove unnecessary non-nil == nil check #5306

Open vidurkhanal opened 3 days ago

vidurkhanal commented 3 days ago

the header == nil check is unnecessary. the header was established to be non nil from couple of LOC before the switch statements.

CLAassistant commented 3 days ago

CLA assistant check
All committers have signed the CLA.