Branch: Tag:

2008-01-13

2008-01-13 17:05:00 by Martin Nilsson <mani@lysator.liu.se>

Removed unused variables.

Rev: lib/7.0/modules/Calendar.pmod/module.pmod:1.8
Rev: lib/7.2/modules/LR.pmod/parser.pike:1.4
Rev: lib/modules/ADT.pmod/Heap.pike:1.11
Rev: lib/modules/Cache.pmod/Storage.pmod/MySQL.pike:1.7
Rev: lib/modules/Calendar_I.pmod/module.pmod:1.16
Rev: lib/modules/GTKSupport.pmod/MenuFactory.pmod:1.12
Rev: lib/modules/Graphics.pmod/Graph.pmod/create_graph.pike:1.17
Rev: lib/modules/Graphics.pmod/Graph.pmod/create_pie.pike:1.15
Rev: lib/modules/Parser.pmod/RCS.pike:1.38
Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.110
Rev: lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:1.20
Rev: lib/modules/Protocols.pmod/LPD.pmod:1.10
Rev: lib/modules/Protocols.pmod/LysKOM.pmod/Session.pike:1.35
Rev: lib/modules/Protocols.pmod/SNMP.pmod/agent.pike:1.6
Rev: lib/modules/Protocols.pmod/SNMP.pmod/getcmd.pike:1.7
Rev: lib/modules/Protocols.pmod/TELNET.pmod:1.27
Rev: lib/modules/Protocols.pmod/X.pmod/Requests.pmod:1.33
Rev: lib/modules/Protocols.pmod/X.pmod/Xlib.pmod:1.50
Rev: lib/modules/Standards.pmod/EXIF.pmod:1.28
Rev: lib/modules/Standards.pmod/ID3.pmod:1.23
Rev: lib/modules/Tools.pmod/Monger.pmod/MongerDeveloper.pike:1.4
Rev: lib/modules/Tools.pmod/Monger.pmod/MongerUser.pike:1.4
Rev: lib/modules/Tools.pmod/Standalone.pmod/cgrep.pike:1.13
Rev: lib/modules/Tools.pmod/Standalone.pmod/pmar_install.pike:1.5
Rev: lib/modules/Web.pmod/Crawler.pmod:1.25
Rev: lib/modules/_Image_XCF.pmod:1.23
Rev: lib/modules/_Image_XPM.pmod:1.16

2:      // LDAP client protocol implementation for Pike.   // - // $Id: client.pike,v 1.109 2007/10/08 16:47:09 mast Exp $ + // $Id: client.pike,v 1.110 2008/01/13 17:02:43 nilsson Exp $   //   // Honza Petrous, hop@unibase.cz   //
663: Inside #if undefined(PARSE_RFCS)
   void create(string|mapping(string:mixed)|void url, object|void context)    {    -  info = ([ "code_revision" : ("$Revision: 1.109 $"/" ")[1] ]); +  info = ([ "code_revision" : ("$Revision: 1.110 $"/" ")[1] ]);       if(!url || !sizeof(url))    url = LDAP_DEFAULT_URL;
751:    private mixed send_bind_op(string name, string password) {    // Simple BIND operation    -  object msgval, vers, namedn, auth, app; +  object msgval, vers, namedn, auth;    string pass = password;    password = "censored";   
815:    //!    int start_tls (void|SSL.context context) {    -  int id; -  mixed raw; +     if(ldap_version < 3)    {    seterr (LDAP_PROTOCOL_ERROR);
864:    //! to follow his logic better.    int bind (string|void dn, string|void password, int|void version) {    -  int id; +     mixed raw;    string pass = password;    password = "censored";
960:    //! to follow his logic better.    int delete (string dn) {    -  int id; +     mixed raw;       if (chk_ver())
1032:    //! used here isn't the same as the attribute value syntax.    int compare (string dn, string attr, string value) {    -  int id; +     mixed raw;       // if (!aval || sizeof(aval)<2)
1109:    //! to follow his logic better.    int add (string dn, mapping(string:array(string)) attrs) {    -  int id; +     mixed raw;       if (chk_ver())
1326:    // SEARCH    // limitations: !!! sizelimit and timelimit should be unsigned int !!!    -  object msgval; +     array(object) ohlp;       ohlp = ({filter});
1413:    void|mapping(string:array(int|string)) controls,    void|int flags) {    -  int id,nv; +  int id;    object entry;    array(object) entries = ({});   
1982:    //! to follow his logic better.    int modify (string dn, mapping(string:array(int(0..2)|string)) attropval) {    -  int id; +     mixed raw;       if (chk_ver())