Changeset 4c7c21f for keymap.c


Ignore:
Timestamp:
May 20, 2011, 3:59:31 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
f97c1a6
Parents:
351c535
git-author:
David Benjamin <davidben@mit.edu> (05/07/11 15:23:49)
git-committer:
David Benjamin <davidben@mit.edu> (05/20/11 15:59:31)
Message:
owl_dict_create also never fails

And like everywhere else, we weren't checking the return values most of
the time anyway.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • keymap.c

    rfda61d3 r4c7c21f  
    179179/* NOTE: keyhandler has private access to the internals of keymap */
    180180
    181 int owl_keyhandler_init(owl_keyhandler *kh)
    182 {
    183   if (0 != owl_dict_create(&kh->keymaps)) return(-1);
     181void owl_keyhandler_init(owl_keyhandler *kh)
     182{
     183  owl_dict_create(&kh->keymaps);
    184184  kh->active = NULL;
    185185  owl_keyhandler_reset(kh);
    186   return(0);
    187186}
    188187
Note: See TracChangeset for help on using the changeset viewer.