danmar/cppcheck — comment on commit ed6a0e14c4fc8ae5b9ac6d41a24b02b5b55a787b
File:  line 0
By thomasjfox:

Hi Edoardo,

interesting simplification. I think it can break the following code:

```C++
void do_something()
{
{
scope_lock lock;
foo();
}

// Give other threads a chance to run

{
scope_lock lock;
bar();
}
}
```

What do you think?