projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13e9617
)
[flang] Remove unused variable
author
Tim Keith
<tkeith@nvidia.com>
Mon, 27 Aug 2018 19:12:03 +0000
(12:12 -0700)
committer
Tim Keith
<tkeith@nvidia.com>
Mon, 27 Aug 2018 19:12:03 +0000
(12:12 -0700)
Original-commit: flang-compiler/f18@
05dc053442e7aa2a30f7d92d2a2025534f3935c9
Reviewed-on: https://github.com/flang-compiler/f18/pull/169
Tree-same-pre-rewrite: false
flang/lib/semantics/scope.cc
patch
|
blob
|
history
diff --git
a/flang/lib/semantics/scope.cc
b/flang/lib/semantics/scope.cc
index
1281531
..
857e042
100644
(file)
--- a/
flang/lib/semantics/scope.cc
+++ b/
flang/lib/semantics/scope.cc
@@
-96,7
+96,6
@@
std::optional<parser::MessageFixedText> Scope::SetImportKind(ImportKind kind) {
importKind_ = kind;
return std::nullopt;
}
- std::optional<parser::MessageFixedText> error;
bool hasNone{kind == ImportKind::None || *importKind_ == ImportKind::None};
bool hasAll{kind == ImportKind::All || *importKind_ == ImportKind::All};
// Check C8100 and C898: constraints on multiple IMPORT statements