Commit 8ed5972c authored by Michael Reeves's avatar Michael Reeves

Can not run diff on nullptr add assert.

parent 84246bc7
......@@ -677,6 +677,7 @@ bool runDiff(const LineData* p1, LineRef size1, const LineData* p2, LineRef size
ManualDiffHelpList* pManualDiffHelpList,
Options* pOptions)
{
Q_ASSERT(p1 != nullptr && p2 != nullptr);
diffList.clear();
DiffList diffList2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment