Skip to content

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

@9a4gl

Description

@9a4gl

.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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions