mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
fix -Wmaybe-uninitialized warning
This commit is contained in:
@ -316,7 +316,7 @@ void readDump(std::string filename, labelList &indices, scalarList &radii, vecto
|
|||||||
|
|
||||||
const label leadingLines = 9;
|
const label leadingLines = 9;
|
||||||
label lineCounter = 0;
|
label lineCounter = 0;
|
||||||
label partIndex;
|
label partIndex = 0;
|
||||||
scalar r = 1.0, x = 0.0, y = 0.0, z = 0.0;
|
scalar r = 1.0, x = 0.0, y = 0.0, z = 0.0;
|
||||||
|
|
||||||
indices.clear();
|
indices.clear();
|
||||||
|
|||||||
Reference in New Issue
Block a user