From 53c294f9e83295ccd2d9294aaba9b46e22010967 Mon Sep 17 00:00:00 2001 From: Christian Gruber Date: Sun, 7 Jun 2020 22:52:19 +0200 Subject: [PATCH] Remove unnecessary type check --- libgnucash/engine/mocks/gmock-Account.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/libgnucash/engine/mocks/gmock-Account.h b/libgnucash/engine/mocks/gmock-Account.h index 271dac16ce..0783bb46aa 100644 --- a/libgnucash/engine/mocks/gmock-Account.h +++ b/libgnucash/engine/mocks/gmock-Account.h @@ -54,8 +54,6 @@ class GncMockImportMatchMap : public GncImportMatchMap public: GncMockImportMatchMap(MockAccount* account) { - g_return_if_fail(GNC_IS_MOCK_ACCOUNT(account)); - acc = account; book = account->getBook(); };