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

Compiler warning - control reaches end of non-void function #314

Open
9a4gl opened this issue Sep 19, 2024 · 0 comments
Open

Compiler warning - control reaches end of non-void function #314

9a4gl opened this issue Sep 19, 2024 · 0 comments

Comments

@9a4gl
Copy link
Contributor

9a4gl commented Sep 19, 2024

.pio/libdeps/lolin32/AsyncMqttClient/src/AsyncMqttClient.cpp: In member function 'AsyncMqttClient& AsyncMqttClient::setServer(const char*, const char*)':
.pio/libdeps/lolin32/AsyncMqttClient/src/AsyncMqttClient.cpp:149:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^

Indeed, this method at the end does not return anything.

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

No branches or pull requests

1 participant