This code
```
void main() {
size_t a;
size_t b;a = 1; } ``` compiles and executes silently, despite 'b' declared but not used. It's not an error, but should it not generate a warning?
DLearner via Digitalmars-d-learn Fri, 27 Nov 2026 08:36:41 -0800
This code
```
void main() {
size_t a;
size_t b;a = 1; } ``` compiles and executes silently, despite 'b' declared but not used. It's not an error, but should it not generate a warning?