COMP: refinementSurfaces: prevent copying of unitialised (but unused) variables triggering error
This commit is contained in:
parent
8acf2daaba
commit
44ac461a1d
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -938,7 +938,9 @@ void Foam::refinementSurfaces::findNearestIntersection
|
||||
surface1 = -1;
|
||||
hit1.setSize(start.size());
|
||||
region1.setSize(start.size());
|
||||
region1 = -1;
|
||||
normal1.setSize(start.size());
|
||||
normal1 = vector::zero;
|
||||
|
||||
// Current end of segment to test.
|
||||
pointField nearest(end);
|
||||
|
Loading…
Reference in New Issue
Block a user