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

Fixed: control reaches end of non-void function #10

Merged
merged 1 commit into from
Aug 17, 2023

Conversation

ayushsharma82
Copy link
Contributor

Fixes this compiler warning

Smoothed.h: In member function 'bool Smoothed<T>::clear() [with T = short unsigned int]':
Smoothed.h:199:1: warning: control reaches end of non-void function [-Wreturn-type]

Fixes this compiler warning
```
Smoothed.h: In member function 'bool Smoothed<T>::clear() [with T = short unsigned int]':
Smoothed.h:199:1: warning: control reaches end of non-void function [-Wreturn-type]
```
@jowgn jowgn mentioned this pull request Dec 2, 2021
@trentben
Copy link

Seeing this same warning when calling clear(). Not a big deal but it would be nice to have this merged in at some point.

@MattFryer MattFryer merged commit 12386a1 into MattFryer:master Aug 17, 2023
@smeisner
Copy link

smeisner commented Sep 7, 2023

@MattFryer I see this change was merged to create 1.3. But this commit never returns true. The patchset submitted for issue #12 appears to be correct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants