From 9f9251c11d362c2344b7eaf81b40e31ac1848b66 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 8 Sep 2018 20:50:12 +0100 Subject: [PATCH] Minor code cleanup. --- eeschema/libedit/block_libedit.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eeschema/libedit/block_libedit.cpp b/eeschema/libedit/block_libedit.cpp index e706592f5a..d7a5bd32ad 100644 --- a/eeschema/libedit/block_libedit.cpp +++ b/eeschema/libedit/block_libedit.cpp @@ -371,10 +371,11 @@ bool LIB_EDIT_FRAME::HandleBlockEnd( wxDC* aDC ) break; case BLOCK_PASTE: - wxFAIL; // should not happen - break; - + case BLOCK_ROTATE: + case BLOCK_MIRROR_X: + case BLOCK_MIRROR_Y: case BLOCK_FLIP: + wxFAIL; // should not happen break; case BLOCK_ZOOM: // Window Zoom