infer_clone/infer/documentation/issues/UNINITIALIZED_VALUE.md

20 lines
281 B

A value is read before it has been initialized. For example, in C:
```c
struct coordinates {
int x;
int y;
};
void foo() {
struct coordinates c;
c.x = 42;
c.y++; // uninitialized value c.y!
int z;
if (z == 0) { // uninitialized value z!
// something
}
}
```