Skip to content

Commit 2c278f3

Browse files
committed
Fix a (harmless) build warning
1 parent c3e7632 commit 2c278f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/mesh/qgsmeshvectorrenderer.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ bool QgsMeshVectorRenderer::calcVectorLineEnd(
202202

203203
double QgsMeshVectorRenderer::calcExtentBufferSize() const
204204
{
205-
double buffer;
205+
double buffer = 0;
206206
switch ( mCfg.shaftLengthMethod() )
207207
{
208208
case QgsMeshRendererVectorSettings::ArrowScalingMethod::MinMax:

0 commit comments

Comments
 (0)