initialize totalTracks
This commit is contained in:
parent
fa6e4bea91
commit
cacc92457f
1 changed files with 1 additions and 0 deletions
|
@ -503,6 +503,7 @@ public class GPXUtilities {
|
|||
public GPXTrackAnalysis getAnalysis(long fileTimestamp) {
|
||||
GPXTrackAnalysis g = new GPXTrackAnalysis();
|
||||
g.wptPoints = points.size();
|
||||
g.totalTracks = 0;
|
||||
List<SplitSegment> splitSegments = new ArrayList<GPXUtilities.SplitSegment>();
|
||||
for(int i = 0; i< tracks.size() ; i++){
|
||||
Track subtrack = tracks.get(i);
|
||||
|
|
Loading…
Reference in a new issue