libctf: remove outdated comment about parent dict importing

Parent dicts are nowadays imported automatically in most situations, so
the comment in ctf_archive_iter warning people that they need to import
parents by hand is wrong.  Remove it.

libctf/ChangeLog
2021-01-05  Nick Alcock  <nick.alcock@oracle.com>

	* ctf-archive.c (ctf_archive_iter): Remove outdated comment.
This commit is contained in:
Nick Alcock 2021-01-05 13:25:56 +00:00
parent 6c3a38777b
commit 8769046e5a
2 changed files with 5 additions and 3 deletions

View file

@ -1021,9 +1021,7 @@ ctf_archive_iter (const ctf_archive_t *arc, ctf_archive_member_f *func,
/* Iterate over all CTF files in an archive, returning each dict in turn as a
ctf_dict_t, and NULL on error or end of iteration. It is the caller's
responsibility to close it. Parent dicts may be skipped. Regardless of
whether they are skipped or not, the caller must ctf_import the parent if
need be.
responsibility to close it. Parent dicts may be skipped.
The archive member is cached for rapid return on future calls.