From 8efa2a3ba4ae833415223a888e4561e57e4bf132 Mon Sep 17 00:00:00 2001 From: Arch Librarian Date: Mon, 20 Sep 2004 16:50:50 +0000 Subject: Working cache generator Author: jgg Date: 1998-07-16 06:08:36 GMT Working cache generator --- apt-pkg/contrib/strutl.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apt-pkg/contrib/strutl.cc') diff --git a/apt-pkg/contrib/strutl.cc b/apt-pkg/contrib/strutl.cc index 14965f91e..8c1f7005c 100644 --- a/apt-pkg/contrib/strutl.cc +++ b/apt-pkg/contrib/strutl.cc @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: strutl.cc,v 1.1 1998/07/07 04:17:16 jgg Exp $ +// $Id: strutl.cc,v 1.2 1998/07/16 06:08:41 jgg Exp $ /* ###################################################################### String Util - Some usefull string functions. @@ -226,7 +226,7 @@ string TimeToStr(unsigned long Sec) /* This replaces all occurances of Subst with Contents in Str. */ string SubstVar(string Str,string Subst,string Contents) { - string::size_type Pos; + string::size_type Pos = 0; string::size_type OldPos = 0; string Temp; -- cgit v1.2.3