Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v.vol.rst: Initialize structure contents before passing it around #4282

Merged
merged 2 commits into from
Sep 10, 2024

Commits on Sep 5, 2024

  1. v.vol.rst: Initialize structure contents before passing it around

    `skip_point` structure is not initialized when declared. This was
    found using cppcheck tool.
    
    Only when `cv` is true, `skip_point` contents are filled and the
    structure is used. cppcheck raised the issue when 'cv' is false.
    Technically, we don't need skip_point in such cases and not
    initializing it won't affect the execution. Nevertheless, it's a
    good practice to initialize structure contents at the time of
    declaration.
    
    Signed-off-by: Mohan Yelugoti <[email protected]>
    ymdatta committed Sep 5, 2024
    Configuration menu
    Copy the full SHA
    fdeebdf View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2024

  1. Use correct literal for double type

    Co-authored-by: Nicklas Larsson <[email protected]>
    ymdatta and nilason authored Sep 10, 2024
    Configuration menu
    Copy the full SHA
    857195c View commit details
    Browse the repository at this point in the history