From b6b784c701a33c9ba11330a5fb1ecdc745abdb04 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 30 Jan 2013 10:35:54 +1100 Subject: Added assert to silence Xcode analyse warning. --- src/ViewStyle.cxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/ViewStyle.cxx b/src/ViewStyle.cxx index 9df8152a1..059f885f7 100644 --- a/src/ViewStyle.cxx +++ b/src/ViewStyle.cxx @@ -6,6 +6,7 @@ // The License.txt file describes the conditions under which this software may be distributed. #include +#include #include #include @@ -356,6 +357,7 @@ void ViewStyle::Refresh(Surface &surface) { CreateFont(styles[j]); } + assert(frFirst); frFirst->Realise(surface, zoomLevel, technology); for (unsigned int k=0; k