I think this is slightly nicer. It also happens to avoid a -Warray-bounds warning on some versions of gcc that suggests the "ins" pointer returned by vsir_program_iterator_next() may be NULL.