diff --git a/src/local.cpp b/src/local.cpp index 3722fb94..d28b681b 100644 --- a/src/local.cpp +++ b/src/local.cpp @@ -134,7 +134,7 @@ int handle_request(void *cls, struct MHD_Connection *connection, const char *url // mapping between meters and channels MapContainer *mappings = static_cast(cls); - struct MHD_Response *response; + struct MHD_Response *response = NULL; const char *mode = MHD_lookup_connection_value(connection, MHD_GET_ARGUMENT_KIND, "mode"); try {