diff --git a/src/modules/network.cpp b/src/modules/network.cpp index 58730184..83037e7f 100644 --- a/src/modules/network.cpp +++ b/src/modules/network.cpp @@ -4,7 +4,8 @@ waybar::modules::Network::Network(Json::Value config) : config_(std::move(config)), - ifid_(if_nametoindex(config_["interface"].asCString())) + ifid_(if_nametoindex(config_["interface"].asCString())), + signal_strength_dbm_(0), signal_strength_(0) { if (ifid_ == 0) { throw std::runtime_error("Can't found network interface"); diff --git a/src/modules/pulseaudio.cpp b/src/modules/pulseaudio.cpp index c3eae764..80ada279 100644 --- a/src/modules/pulseaudio.cpp +++ b/src/modules/pulseaudio.cpp @@ -64,7 +64,6 @@ void waybar::modules::Pulseaudio::subscribeCb(pa_context* context, pa_context_get_sink_info_by_index(context, idx, sinkInfoCb, data); break; default: - assert(0); break; } }