mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Eliminate a compile time warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55878 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
10a8d9c737
commit
e3e3626338
@ -220,7 +220,7 @@ void CodeEmitterGen::run(std::ostream &o) {
|
||||
// Emit initial function code
|
||||
o << " const unsigned opcode = MI.getOpcode();\n"
|
||||
<< " unsigned Value = InstBits[opcode];\n"
|
||||
<< " unsigned op;\n"
|
||||
<< " unsigned op = 0;\n"
|
||||
<< " op = op; // suppress warning\n"
|
||||
<< " switch (opcode) {\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user