Branch: Tag:

2008-01-05

2008-01-05 14:46:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Fixed a few warnings.

Rev: lib/7.4/modules/Crypto.pmod/invert.pike:1.2
Rev: lib/modules/Protocols.pmod/DNS.pmod:1.92
Rev: lib/modules/Protocols.pmod/HTTP.pmod/Query.pike:1.92
Rev: lib/modules/Standards.pmod/ASN1.pmod/Types.pmod:1.40
Rev: src/testsuite.in:1.794

1:   // - // $Id: Types.pmod,v 1.39 2007/05/13 18:59:42 mast Exp $ + // $Id: Types.pmod,v 1.40 2008/01/05 14:37:59 grubba Exp $   //      //! Encodes various asn.1 objects according to the Distinguished
91:       mapping(int:program(Object)) element_types(int i,    mapping(int:program(Object)) types) { -  return types; +  return types; i;    } -  this_program init(mixed ... args) { return this; } +  this_program init(mixed ... args) { return this; args; }       string to_base_128(int n) {    if (!n)
532:   //! always the case...   int(1..1) asn1_utf8_valid (string s)   { -  return 1; +  return 1; s;   }      //! UTF8 string object
1078:   //!   int(0..0) asn1_universal_valid (string s)   { -  return 0; // Return 0 since the UniversalString isn't implemented. +  return 0; s; // Return 0 since the UniversalString isn't implemented.   }      //! Universal String object
1099:    }       this_program decode_primitive (string contents) { -  error( "Decoding not implemented\n" ); +  error( "Decoding not implemented\n" ); contents;    }   }