Changeset 6a8b519


Ignore:
Timestamp:
Feb 23, 2013, 5:44:23 PM (8 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master
Children:
104a4eb
Parents:
4953c44
git-author:
David Benjamin <davidben@mit.edu> (02/23/13 14:33:35)
git-committer:
David Benjamin <davidben@mit.edu> (02/23/13 17:44:23)
Message:
Remove pointless return code from owl_variable_add_defaults
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tester.c

    r366badc r6a8b519  
    339339
    340340  printf("# BEGIN testing owl_variable\n");
    341   FAIL_UNLESS("setup", 0==owl_variable_dict_setup(&vd));
     341  owl_variable_dict_setup(&vd);
    342342
    343343  FAIL_UNLESS("get bool var", NULL != (var = owl_variable_get_var(&vd, "rxping")));
  • variable.c

    rf0a7c09 r6a8b519  
    9393                                           validset, validate, set, get)
    9494
    95 int owl_variable_add_defaults(owl_vardict *vd)
     95void owl_variable_add_defaults(owl_vardict *vd)
    9696{
    9797  OWLVAR_STRING( "personalbell" /* %OwlVarStub */, "off",
     
    475475                      "                     user.\n",
    476476                      NULL, owl_variable_exposure_set, NULL /* use default for get */ );
    477   return 0;
    478477}
    479478
     
    596595/**************************************************************************/
    597596
    598 int owl_variable_dict_setup(owl_vardict *vd) {
     597void owl_variable_dict_setup(owl_vardict *vd) {
    599598  owl_dict_create(vd);
    600   return owl_variable_add_defaults(vd);
     599  owl_variable_add_defaults(vd);
    601600}
    602601
Note: See TracChangeset for help on using the changeset viewer.