Consistently use NULL for invalid GUC unit strings

Patch by Euler Taveira
This commit is contained in:
Bruce Momjian 2014-10-13 16:11:43 -04:00
parent 032f3b7e16
commit d6c8e8d7ac

View File

@ -7734,7 +7734,7 @@ GetConfigOptionByNum(int varnum, const char **values, bool *noshow)
values[2] = "min";
break;
default:
values[2] = "";
values[2] = NULL;
break;
}
}