// Processing of direct variables:
// If the current subprogram matche the given name:
- if (subprogram_name == NULL || strcmp(subprogram_name, subprogram->name) == 0) {
+ if (!subprogram_name ||
+ subprogram->name && strcmp(subprogram_name, subprogram->name) == 0) {
// Try to find the variable and remove it:
int start = 0;