]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Initialisation added.
authormorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Jan 2009 08:03:44 +0000 (08:03 +0000)
committermorsch <morsch@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 Jan 2009 08:03:44 +0000 (08:03 +0000)
STEER/AliAODVertex.cxx

index ac908fc4330aa8c87a9902274d9dca03cd021371..f9b25960b62ae4da28d4881a6855a2139afed52b 100644 (file)
@@ -280,7 +280,7 @@ Bool_t AliAODVertex::HasDaughter(TObject *daughter) const
        return kFALSE;
     } else {
        Bool_t has = kFALSE;
-       for (int i; i < fNprong; i++) {
+       for (int i = 0; i < fNprong; i++) {
            if (fProngs[i].GetObject() == daughter) has = kTRUE;
        }
        return has;