Skip to content

Commit

Permalink
Silence a warning about missing return
Browse files Browse the repository at this point in the history
Some versions of the compiler do not seem to recognize this as
unreachable, so add a return to satisfy the compiler and silence
the warning.

Change-Id: I55485d2847616be696b6c4f908e2042cb4c00392
  • Loading branch information
joeyparrish committed Sep 8, 2015
1 parent 4cc4e96 commit aaf55ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/dash/mpd_processor.js
Original file line number Diff line number Diff line change
Expand Up @@ -1064,6 +1064,7 @@ shaka.dash.MpdProcessor.prototype.makeSegmentIndexSourceViaSegmentTemplate_ =
}

shaka.asserts.unreachable();
return null;
};


Expand Down

0 comments on commit aaf55ec

Please sign in to comment.