NCI-Agency/anet#157: Fix warning about defining functions in each statement
NCI-Agency/anet#157: Fix warning about defining functions in each statement

NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet,NCI-Agency/anet