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

Eliminate useless 'const' #703

Merged
merged 1 commit into from Jul 13, 2021
Merged

Eliminate useless 'const' #703

merged 1 commit into from Jul 13, 2021

Conversation

ferdnyc
Copy link
Contributor

@ferdnyc ferdnyc commented Jul 13, 2021

Turns out, const is ignored on a bool return type from a static function. With a high enough warning level, gcc will even tell you about it. (Which gets REALLY annoying, as this file is included in lots of places.)

@ferdnyc ferdnyc added the code Source code cleanup, streamlining, or style tweaks label Jul 13, 2021
@codecov
Copy link

codecov bot commented Jul 13, 2021

Codecov Report

Merging #703 (9b5551a) into develop (ed1bee3) will not change coverage.
The diff coverage is 100.00%.

Impacted file tree graph

@@           Coverage Diff            @@
##           develop     #703   +/-   ##
========================================
  Coverage    50.42%   50.42%           
========================================
  Files          155      155           
  Lines        13292    13292           
========================================
  Hits          6702     6702           
  Misses        6590     6590           
Impacted Files Coverage Δ
src/FFmpegUtilities.h 100.00% <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 ed1bee3...9b5551a. Read the comment docs.

@ferdnyc ferdnyc merged commit 70aedd3 into OpenShot:develop Jul 13, 2021
@ferdnyc ferdnyc deleted the const-return branch July 13, 2021 05:28
ferdnyc added a commit to ferdnyc/libopenshot that referenced this pull request Sep 27, 2021
ferdnyc added a commit to ferdnyc/libopenshot that referenced this pull request Sep 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code Source code cleanup, streamlining, or style tweaks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant