Re: [Pacemaker] [PATCH]A redundant if sentence.

2010-08-04 Thread Andrew Beekhof
Looks good, applying. Thanks! 2010/8/4 : > Hi, > > It is the patch of a redundant if sentence for pengine. > > void > unpack_operation( >        action_t *action, xmlNode *xml_obj, pe_working_set_t* data_set) > { > (snip) >        if(safe_str_eq(class, "stonith")) { >                action->needs

[Pacemaker] [PATCH]A redundant if sentence.

2010-08-03 Thread renayama19661014
Hi, It is the patch of a redundant if sentence for pengine. void unpack_operation( action_t *action, xmlNode *xml_obj, pe_working_set_t* data_set) { (snip) if(safe_str_eq(class, "stonith")) { action->needs = rsc_req_nothing; value = "nothing (fenci