Fix most clang warnings
- member initializing order in some constructors - missing default branches in switch-case - uninitialized variable if switch-case default (uncritical because program would exit) - && and || brace warnings in if()
This commit is contained in:
@@ -213,10 +213,10 @@ public:
|
||||
class InstructionParameters {
|
||||
public:
|
||||
InstructionParameters() :
|
||||
typePresent(true), // most normal, only exceptions have to be spelled out
|
||||
resultPresent(true), // most normal, only exceptions have to be spelled out
|
||||
opDesc(0),
|
||||
opClass(OpClassMisc)
|
||||
opClass(OpClassMisc),
|
||||
typePresent(true), // most normal, only exceptions have to be spelled out
|
||||
resultPresent(true) // most normal, only exceptions have to be spelled out
|
||||
{ }
|
||||
|
||||
void setResultAndType(bool r, bool t)
|
||||
|
||||
Reference in New Issue
Block a user