From 10c3d7655570277b78912b6ff14b5078fce1077a Mon Sep 17 00:00:00 2001 From: Liana Husikyan Date: Mon, 4 May 2015 15:03:15 +0200 Subject: fixed warrning --- SourceReferenceFormatter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'SourceReferenceFormatter.cpp') diff --git a/SourceReferenceFormatter.cpp b/SourceReferenceFormatter.cpp index a30621a1..87796aa3 100644 --- a/SourceReferenceFormatter.cpp +++ b/SourceReferenceFormatter.cpp @@ -95,7 +95,7 @@ void SourceReferenceFormatter::printExceptionInformation(ostream& _stream, if (location) { - solAssert(scanner, ""); + scanner = &_compiler.getScanner(*location->sourceName); printSourceLocation(_stream, *location, *scanner); } -- cgit v1.2.3