diff --git a/eeschema/component_references_lister.cpp b/eeschema/component_references_lister.cpp index 750dff9bea..a840c0fd9e 100644 --- a/eeschema/component_references_lister.cpp +++ b/eeschema/component_references_lister.cpp @@ -718,7 +718,7 @@ int SCH_REFERENCE_LIST::CheckAnnotation( REPORTER& aReporter ) SCH_REFERENCE::SCH_REFERENCE( SCH_COMPONENT* aComponent, LIB_PART* aLibPart, SCH_SHEET_PATH& aSheetPath ) { - wxASSERT( aComponent != NULL && aLibPart != NULL ); + wxASSERT( aComponent != NULL ); m_RootCmp = aComponent; m_Entry = aLibPart;