trac_6732 join_iterator.hpp unused variable warn.
Merge branch 'hotfix/trac_6732_join_iterator_unused_warn' into develop