Branch: Tag:

2003-09-01

2003-09-01 16:37:32 by Martin Nilsson <mani@lysator.liu.se>

Don't pretend return is a function.

Rev: lib/modules/Locale.pmod/Language.pmod/rus.pmod:1.2
Rev: lib/modules/Locale.pmod/Language.pmod/slv.pmod:1.2
Rev: lib/modules/Locale.pmod/Language.pmod/swe.pmod:1.2
Rev: lib/modules/Protocols.pmod/IMAP.pmod/requests.pmod:1.92
Rev: lib/modules/Protocols.pmod/IMAP.pmod/types.pmod:1.29
Rev: lib/modules/Protocols.pmod/LDAP.pmod/client.pike:1.50
Rev: lib/modules/Protocols.pmod/LDAP.pmod/protocol.pike:1.10
Rev: lib/modules/Protocols.pmod/SNMP.pmod/getcmd.pike:1.6
Rev: lib/modules/Protocols.pmod/SNMP.pmod/protocol.pike:1.12

17: Inside #if 0
  {   #if 0    if (!sizeof(a)) { -  return(""); +  return "";    }    a = Array.map(a, imap_format);    string res = a[0];
37:      array imap_check_array(array a)   { -  return(Array.filter(a, lambda(mixed item, array index) { +  return Array.filter(a, lambda(mixed item, array index) {    index[0]++;    if (!item || stringp(item) || objectp(item)) {    return 1;
48:    backtrace()    }) ));    return 0; -  }, ({ -1 }) )); +  }, ({ -1 }) );   }      /* Output types */