forked from qt-creator/qt-creator
Fix compilation
Unused variable Change-Id: I190d8adf6efba8273ded2288c7232a1e77ef62f9 Reviewed-by: hjk <hjk121@nokiamail.com>
This commit is contained in:
@@ -3311,6 +3311,7 @@ namespace lambda {
|
||||
std::string x;
|
||||
auto f = [&] () -> const std::string & {
|
||||
int z = x.size();
|
||||
Q_UNUSED(z);
|
||||
return x;
|
||||
};
|
||||
auto c = f();
|
||||
|
||||
Reference in New Issue
Block a user