Commits (2)
......@@ -1257,7 +1257,7 @@ js_get_index(JSContext *cx, uintN argc, jsval *arglist)
#define LAZY_BOOLEAN(PropName, PropValue, flags) \
if(name==NULL || strcmp(name, (PropName))==0) { \
if(name) free(name); \
v=INT_TO_BOOL((PropValue)); \
v=BOOLEAN_TO_JSVAL((PropValue)); \
JS_DefineProperty(cx, obj, (PropName), v, NULL,NULL,flags); \
if(name) return JS_TRUE; \
}
......
......@@ -1053,9 +1053,6 @@ void xtrn_cfg(uint section)
uint i,xtrnnum[MAX_OPTS+1];
static xtrn_t savxtrn;
sub_bar=0;
opt_dflt=0;
while(1) {
for(i=0,j=0;i<cfg.total_xtrns && j<MAX_OPTS;i++)
if(cfg.xtrn[i]->sec==section) {
......