From bcfce68daaa48ca0f486a61583a2a7ac2bb0916a Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Fri, 19 Aug 2016 08:53:06 -0400 Subject: [PATCH] Fix debug build warning due to improper debug macro. --- eeschema/sch_legacy_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eeschema/sch_legacy_plugin.cpp b/eeschema/sch_legacy_plugin.cpp index 25fb3c18ec..fd4c1d5255 100644 --- a/eeschema/sch_legacy_plugin.cpp +++ b/eeschema/sch_legacy_plugin.cpp @@ -2168,7 +2168,7 @@ void SCH_LEGACY_PLUGIN_CACHE::loadHeader( FILE_LINE_READER& aReader ) { const char* line = aReader.Line(); - wxCHECK( strCompare( "$HEADER", line, &line ), NULL ); + wxASSERT( strCompare( "$HEADER", line, &line ) ); while( aReader.ReadLine() ) {