smartlist_foreach 417 B

12345678
  1. o Code simplification and refactoring:
  2. - Do not use SMARTLIST_FOREACH for any loop whose body exceeds
  3. 10 lines. Doing so in the past has led to hard-to-debug code.
  4. The new style is to use the SMARTLIST_FOREACH_{BEGIN,END} pair.
  5. Issue 6400.
  6. - Do not nest SMARTLIST_FOREACH blocks within one another. Any
  7. nested block ought to be using SMARTLIST_FOREACH_{BEGIN,END}.
  8. Issue 6400.