remove redundent nul setting

(cherry picked from commit bd7996b047)
This commit is contained in:
Mark Andrews 2014-06-17 10:26:57 +10:00
parent c59d8f60bf
commit 4ca22b5fc2

View file

@ -1124,8 +1124,6 @@ plus_option(char *option, isc_boolean_t is_batchfile,
if (value != NULL) {
n = strlcpy(sitvalue, value,
sizeof(sitvalue));
sitvalue[sizeof(sitvalue) - 1] = '\0';
if (n >= sizeof(sitvalue))
fatal("SIT data too large");
lookup->sitvalue = sitvalue;