Changeset 351c535 for dict.c


Ignore:
Timestamp:
May 20, 2011, 3:59:31 PM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.10, release-1.8, release-1.9
Children:
4c7c21f
Parents:
fda61d3
git-author:
David Benjamin <davidben@mit.edu> (05/07/11 15:21:11)
git-committer:
David Benjamin <davidben@mit.edu> (05/20/11 15:59:31)
Message:
owl_dict_get_keys never fails

No sense in returning an error code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • dict.c

    rfda61d3 r351c535  
    6060/* Appends dictionary keys to a list.  Duplicates the keys,
    6161 * so they will need to be freed by the caller. */
    62 int owl_dict_get_keys(const owl_dict *d, owl_list *l) {
     62void owl_dict_get_keys(const owl_dict *d, owl_list *l) {
    6363  int i;
    6464  for (i=0; i<d->size; i++) {
    6565    owl_list_append_element(l, g_strdup(d->els[i].k));
    6666  }
    67   return(0);
    6867}
    6968
Note: See TracChangeset for help on using the changeset viewer.