Skip to content

Instantly share code, notes, and snippets.

@kwilczynski
Created December 16, 2021 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kwilczynski/4b2f4650b00cead133e337714260a416 to your computer and use it in GitHub Desktop.
Save kwilczynski/4b2f4650b00cead133e337714260a416 to your computer and use it in GitHub Desktop.
duplicateConditionalAssign ext/nokogiri/xml_node.c:1898 The statement 'if (child_iter->parent!=(xmlNodePtr)node->doc) child_iter->parent=(xmlNodePtr)node->doc' is logically equivalent to 'child_iter->parent=(xmlNodePtr)node->doc'.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment