Changeset c72f884 for dict.c


Ignore:
Timestamp:
May 12, 2011, 4:39:26 PM (13 years ago)
Author:
David Benjamin <davidben@mit.edu>
Children:
92fc397
Parents:
7fd0bf7
git-author:
David Benjamin <davidben@mit.edu> (05/07/11 15:21:11)
git-committer:
David Benjamin <davidben@mit.edu> (05/12/11 16:39:26)
Message:
owl_dict_get_keys never fails

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

Legend:

Unmodified
Added
Removed
  • dict.c

    r7fd0bf7 rc72f884  
    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.