-
Notifications
You must be signed in to change notification settings - Fork 14.9k
[lld][WebAssembly] Remove redundant assignment. NFC #160400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@llvm/pr-subscribers-lld-wasm @llvm/pr-subscribers-lld Author: Sam Clegg (sbc100) ChangesFull diff: https://github.com/llvm/llvm-project/pull/160400.diff 1 Files Affected:
diff --git a/lld/wasm/Driver.cpp b/lld/wasm/Driver.cpp
index b57d77457b83a..6332f1a793b2a 100644
--- a/lld/wasm/Driver.cpp
+++ b/lld/wasm/Driver.cpp
@@ -556,8 +556,6 @@ static void readConfigs(opt::InputArgList &args) {
ctx.arg.memoryExport = args.getLastArgValue(OPT_export_memory_with_name);
} else if (args.hasArg(OPT_export_memory)) {
ctx.arg.memoryExport = memoryName;
- } else {
- ctx.arg.memoryExport = std::optional<llvm::StringRef>();
}
ctx.arg.sharedMemory = args.hasArg(OPT_shared_memory);
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/174/builds/24967 Here is the relevant piece of the build log for the reference
|
No description provided.