pyomeca / ezc3d

Easy to use C3D reader/writer for C++, Python and Matlab
https://pyomeca.github.io/Documentation/ezc3d/index.html
MIT License
145 stars 46 forks source link

Delete unnecessary parentheses #206

Closed Kilidsch closed 3 years ago

Kilidsch commented 3 years ago

This PR fixes a few warnings from -Wparantheses because of unnecessary parantheses.

include/ezc3d.h:201:22: warning: unnecessary parentheses in declaration of 'c_float' [-Wparentheses]
     std::vector<char>(c_float); ///< Char to be used by the read function with the specific size of a float preventing to allocate it at each calls

This is a warning in a public header.

codecov[bot] commented 3 years ago

Codecov Report

Merging #206 (76ca738) into dev (78302d2) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##              dev     #206   +/-   ##
=======================================
  Coverage   84.55%   84.55%           
=======================================
  Files          44       44           
  Lines        5515     5515           
=======================================
  Hits         4663     4663           
  Misses        852      852           
Impacted Files Coverage Δ
include/ezc3d.h 100.00% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 78302d2...76ca738. Read the comment docs.