Changeset f0a7c09 for variable.c


Ignore:
Timestamp:
Feb 23, 2013, 5:44:22 PM (9 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master
Children:
4419d3d
Parents:
366badc
git-author:
David Benjamin <davidben@mit.edu> (02/21/13 17:10:05)
git-committer:
David Benjamin <davidben@mit.edu> (02/23/13 17:44:22)
Message:
Remove read-only variable check

Those are impossible now and were impossible before this branch (except
for the old "OWL_VARIABLE_OTHER" thing, which was unused). Yay deleting
code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • variable.c

    r63d3e4e rf0a7c09  
    813813  GValue values[] = {G_VALUE_INIT, G_VALUE_INIT};
    814814  GValue return_box = G_VALUE_INIT;
    815 
    816   int set_successfully = -1;
    817   if (!v->set_fromstring_fn) {
    818     if (msg) owl_function_error("Variable %s is read-only", owl_variable_get_name(v));
    819     return -1;   
    820   }
     815  int set_successfully;
    821816
    822817  g_value_init(&values[0], G_TYPE_POINTER);
Note: See TracChangeset for help on using the changeset viewer.