diff --git a/libfreerdp/core/gateway/arm.c b/libfreerdp/core/gateway/arm.c index c2785ab7b..0dc7b925d 100644 --- a/libfreerdp/core/gateway/arm.c +++ b/libfreerdp/core/gateway/arm.c @@ -825,10 +825,9 @@ static BOOL arm_handle_bad_request(rdpArm* arm, const HttpResponse* response, BO { const char* error_ptr = WINPR_JSON_GetErrorPtr(); if (error_ptr != NULL) - { WLog_ERR(TAG, "NullPoException: %s", error_ptr); - return FALSE; - } + + return FALSE; } WINPR_JSON* gateway_code_obj = WINPR_JSON_GetObjectItemCaseSensitive(json, "Code");