From 05a6cdb8047e9ffedeb27ebc025ea7b700402e29 Mon Sep 17 00:00:00 2001 From: Alexander Valavanis Date: Mon, 27 May 2019 11:35:12 +0100 Subject: Hackfest2019: Rm tautological tests --- src/style-internal.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/style-internal.cpp') diff --git a/src/style-internal.cpp b/src/style-internal.cpp index beee8161d..e88cad5c0 100644 --- a/src/style-internal.cpp +++ b/src/style-internal.cpp @@ -377,7 +377,6 @@ SPILength::merge( const SPIBase* const parent ) { switch (p->unit) { case SP_CSS_UNIT_EM: case SP_CSS_UNIT_EX: - g_assert( &style->font_size != nullptr && &p->style->font_size != nullptr ); value *= p->style->font_size.computed / style->font_size.computed; /** \todo * FIXME: Have separate ex ratio parameter. -- cgit v1.2.3