remove dead code and unused variables

This commit is contained in:
Axel Kohlmeyer
2020-06-30 16:32:30 -04:00
parent eafcc06670
commit edfb4076ff
7 changed files with 6 additions and 14 deletions

View File

@ -793,7 +793,6 @@ bool Info::is_active(const char *category, const char *name)
{
if ((category == NULL) || (name == NULL)) return false;
const char *style = "none";
const int len = strlen(name);
if (strcmp(category,"package") == 0) {
if (strcmp(name,"gpu") == 0) {