Skip to content
Snippets Groups Projects
Commit a862c190 authored by Cristian Lalescu's avatar Cristian Lalescu
Browse files

tweak to avoid "unused variable" warnings

parent f177b4dd
No related branches found
No related tags found
1 merge request!23WIP: Feature/use cmake
Pipeline #37013 failed
......@@ -235,6 +235,7 @@ public:
}
const int nbProcToRecvUpper = int(neigDescriptors.size())-nbProcToRecvLower;
const int nbProcToRecv = nbProcToRecvUpper + nbProcToRecvLower;
variable_used_only_in_assert(nbProcToRecv);
assert(int(neigDescriptors.size()) == nbProcToRecv);
for(int idxDescr = 0 ; idxDescr < int(neigDescriptors.size()) ; ++idxDescr){
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment