Branch: Tag:

2014-03-01

2014-03-01 06:27:19 by Martin Nilsson <nilsson@opera.com>

Don't use the DEBUG symbol in pike modules.

118:    if (function(string:string) decoder =    syntax_decode_fns[attr_descr->syntax_oid])    return decoder; - #ifdef DEBUG + #ifdef LDAP_DEBUG    else if (!get_constant_name (attr_descr->syntax_oid))    werror ("Warning: Unknown syntax %O for attribute %O - "    "binary content assumed.\n", attr_descr->syntax_oid, attr);   #endif    } - #ifdef DEBUG + #ifdef LDAP_DEBUG    else if (!nowarn && !has_suffix (attr, ";binary") && !has_value (attr, ";binary;"))    werror ("Warning: Couldn't fetch attribute description for %O - "    "binary content assumed.\n", attr);
139:    if (function(string:string) encoder =    syntax_encode_fns[attr_descr->syntax_oid])    return encoder; - #ifdef DEBUG + #ifdef LDAP_DEBUG    else if (!get_constant_name (attr_descr->syntax_oid))    werror ("Warning: Unknown syntax %O for attribute %O - "    "binary content assumed.\n", attr_descr->syntax_oid, attr);   #endif    } - #ifdef DEBUG + #ifdef LDAP_DEBUG    else if (!has_suffix (attr, ";binary") && !has_value (attr, ";binary;"))    werror ("Warning: Couldn't fetch attribute description for %O - "    "binary content assumed.\n", attr);