--------------------- PatchSet 6549 Date: 2008/01/19 11:15:43 Author: amosjeffries Branch: ayjwork Tag: (none) Log: cut(size_t) apparently is unused. Members: src/SquidString.h:1.8.8.11->1.8.8.12 src/String.cci:1.6.6.4->1.6.6.5 Index: squid3/src/SquidString.h =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/SquidString.h,v retrieving revision 1.8.8.11 retrieving revision 1.8.8.12 diff -u -r1.8.8.11 -r1.8.8.12 --- squid3/src/SquidString.h 19 Jan 2008 09:55:58 -0000 1.8.8.11 +++ squid3/src/SquidString.h 19 Jan 2008 11:15:43 -0000 1.8.8.12 @@ -1,5 +1,5 @@ /* - * $Id: SquidString.h,v 1.8.8.11 2008/01/19 09:55:58 amosjeffries Exp $ + * $Id: SquidString.h,v 1.8.8.12 2008/01/19 11:15:43 amosjeffries Exp $ * * DEBUG: section 67 String * AUTHOR: Duane Wessels @@ -122,10 +122,12 @@ */ _SQUID_INLINE_ void set(char const *loc, char const ch); +#if 0 /** \deprecated Use assignment to [] position instead. * ie str[newLength] = '\0'; */ _SQUID_INLINE_ void cut(size_t newLength); +#endif /** \deprecated Use assignment to [] position instead. * ie str[newLength] = '\0'; Index: squid3/src/String.cci =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/String.cci,v retrieving revision 1.6.6.4 retrieving revision 1.6.6.5 diff -u -r1.6.6.4 -r1.6.6.5 --- squid3/src/String.cci 19 Jan 2008 09:19:32 -0000 1.6.6.4 +++ squid3/src/String.cci 19 Jan 2008 11:15:43 -0000 1.6.6.5 @@ -1,5 +1,5 @@ /* - * $Id: String.cci,v 1.6.6.4 2008/01/19 09:19:32 amosjeffries Exp $ + * $Id: String.cci,v 1.6.6.5 2008/01/19 11:15:43 amosjeffries Exp $ * * DEBUG: section 67 String * AUTHOR: Duane Wessels @@ -151,6 +151,7 @@ buf_[loc-buf_] = ch; } +#if 0 // DEAD void String::cut(size_t newLength) { @@ -159,6 +160,7 @@ len_ = newLength; buf_[newLength] = '\0'; } +#endif void String::cutPointer(char const *loc)