---
 eeschema/sch_pin.cpp | 1 +
 1 file changed, 1 insertion(+)

diff --git a/eeschema/sch_pin.cpp b/eeschema/sch_pin.cpp
index 62e5d48c6f..0e9facd35d 100644
--- a/eeschema/sch_pin.cpp
+++ b/eeschema/sch_pin.cpp
@@ -50,6 +50,7 @@ SCH_PIN& SCH_PIN::operator=( const SCH_PIN& aPin )
     m_libPin = aPin.m_libPin;
     m_position = aPin.m_position;
     m_isDangling = aPin.m_isDangling;
+    return *this;
 }
 
 
_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to