def warn_prefix_values(trie):
for current, _parent in trie.dfs():<EOL><INDENT>if current.has_value and current.longest_prefix is not None:<EOL><INDENT>LOGGER.warn(('<STR_LIT>'<EOL>'<STR_LIT>').format(<EOL>current.prefix, current.value,<EOL>current.longest_prefix.prefix, current.longest_prefix.value))<EOL><DEDENT><DEDENT>
Prints warning messages for every node that has both a value and a
longest_prefix.