Skip to content

Commit fb6ba0f

Browse files
committed
Format
1 parent fef16fb commit fb6ba0f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lib/checkclass.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ void CheckClass::constructors()
343343
}
344344
}
345345
}
346-
346+
347347
if (scope->numConstructors == 0) {
348348

349349
// Mark all variables not used
@@ -370,7 +370,6 @@ void CheckClass::constructors()
370370
if (isInitialized(usage, FunctionType::eConstructor))
371371
continue;
372372

373-
// Is there missing member copy in copy/move constructor or assignment operator?
374373
const Variable& var = *usage.var;
375374
if (diagVars.find(&var) == diagVars.end())
376375
uninitVarError(scope->bodyStart, false, FunctionType::eConstructor, var.scope()->className, var.name(), false, false);

0 commit comments

Comments
 (0)