Skip to content

Compilation error in curl/curl.cpp: variable 'performing' may be uninitialized when used #6523

Open
@nortongoblin

Description

@nortongoblin

+++ Compiling: distro/sdk/core/azure-core/src/http/curl/curl.cpp ? private/x86_64.debug/curl.o
distro/sdk/core/azure-core/src/http/curl/curl.cpp:376:7: error: variable 'performing' may be uninitialized when used here [-Werror,-Wconditional-uninitialized]
376 | if (performing != CURLE_OK)
| ^~~~~~~~~~
distro/sdk/core/azure-core/src/http/curl/curl.cpp:349:3: note: variable 'performing' is declared here
346 | CURLcode performing;
| ^
1 error generated.
+++

clang version 17.0.6
Target: x86_64-unknown-linux-gnu
Thread model: posix

Metadata

Metadata

Assignees

Labels

Azure.CoreClientThis issue points to a problem in the data-plane of the library.customer-reportedIssues that are reported by GitHub users external to the Azure organization.needs-team-attentionWorkflow: This issue needs attention from Azure service team or SDK teamquestionThe issue doesn't require a change to the product in order to be resolved. Most issues start as that

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions