tp: fix crash when parsing JSON traces

Fixes: https://github.com/google/perfetto/issues/911
Change-Id: Iff4e3f3aa6dfaa291ed8924cc22e2761ee862496
diff --git a/src/trace_processor/importers/common/track_tracker.cc b/src/trace_processor/importers/common/track_tracker.cc
index 3237226..2ac631b 100644
--- a/src/trace_processor/importers/common/track_tracker.cc
+++ b/src/trace_processor/importers/common/track_tracker.cc
@@ -391,7 +391,7 @@
   if (it)
     return *it;
 
-  StringId name;
+  StringId name = kNullStringId;
   if (type == TrackClassification::kTrigger)
     name = context_->storage->InternString("Trace Triggers");
   if (type == TrackClassification::kInterconnect)
@@ -705,7 +705,7 @@
                                                     uint32_t upid,
                                                     int64_t correlation_id) {
   return LegacyInternLegacyChromeAsyncTrack(name, upid, correlation_id, false,
-                                            StringId());
+                                            kNullStringId);
 }
 
 TrackId TrackTracker::LegacyInternLegacyChromeAsyncTrack(