Open rillig opened 4 years ago
wrong.warning <- function(key, values) { fields <- list() for (l in values) { value <- unlist(l) if (value != '') fields <- append(fields, 'yes') else fields <- append(fields, 'no') } fields }
The variable assignment in the then branch is marked as unused, but the one from the else branch isn't. That's inconsistent.
then
else
Known issue, but I never found a good way to fix this.
The variable assignment in the
then
branch is marked as unused, but the one from theelse
branch isn't. That's inconsistent.