diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:50 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:50:50 +0000 |
commit | 8efa2a3ba4ae833415223a888e4561e57e4bf132 (patch) | |
tree | 3935e15c8802549d872c4f2569c0329739e3aea4 /apt-pkg/contrib | |
parent | 1164783d22d97e7ca0454e23faad8f8bb70a901d (diff) |
Working cache generator
Author: jgg
Date: 1998-07-16 06:08:36 GMT
Working cache generator
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/strutl.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |