diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2013-10-13 15:24:57 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2013-10-13 15:24:57 +0000 |
| commit | d3f86d34d0d92505a798f8c9b83ca12dfcbf50ab (patch) | |
| tree | 69ab725c5c6a24ed10a538e5ad0551d4d86dc530 /src/libavoid | |
| parent | Units: stop newing Unit objects. pass around pointers to "undeletable" Unit o... (diff) | |
| download | inkscape-d3f86d34d0d92505a798f8c9b83ca12dfcbf50ab.tar.gz inkscape-d3f86d34d0d92505a798f8c9b83ca12dfcbf50ab.zip | |
cppcheck
(bzr r12680)
Diffstat (limited to 'src/libavoid')
| -rw-r--r-- | src/libavoid/connector.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libavoid/connector.cpp b/src/libavoid/connector.cpp index 3dbd941a4..cf8cfa11a 100644 --- a/src/libavoid/connector.cpp +++ b/src/libavoid/connector.cpp @@ -286,7 +286,7 @@ void ConnRef::common_updateEndPoint(const unsigned int type, const ConnEnd& conn } VertInf *altered = NULL; - VertInf *partner = NULL; + // VertInf *partner = NULL; bool isShape = false; if (type == (unsigned int) VertID::src) @@ -302,7 +302,7 @@ void ConnRef::common_updateEndPoint(const unsigned int type, const ConnEnd& conn _srcVert->visDirections = connEnd.directions(); altered = _srcVert; - partner = _dstVert; + // partner = _dstVert; } else // if (type == (unsigned int) VertID::tar) { @@ -317,7 +317,7 @@ void ConnRef::common_updateEndPoint(const unsigned int type, const ConnEnd& conn _dstVert->visDirections = connEnd.directions(); altered = _dstVert; - partner = _srcVert; + // partner = _srcVert; } // XXX: Seems to be faster to just remove the edges and recreate |
