# fix optional pointer to empty struct incorrectly being non-null · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/345f8db1c49efe3d9ca9859a296f24e728a3b43a)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 345f8db1c49efe3d9ca9859a296f24e728a3b43a

Requested commit: 345f8db1c49efe3d9ca9859a296f24e728a3b43a

Commit: 345f8db1c49efe3d9ca9859a296f24e728a3b43a

Tree: c0b6d17a4ef6f444365f0af57682bb9a29c5cbd5

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix optional pointer to empty struct incorrectly being non-null

closes #1178

```

## Parents

- [c1af3605328d21f59ee8ceba3c7350193f0a2429](https://git.cafe/gitcafe/zig/commit/c1af3605328d21f59ee8ceba3c7350193f0a2429?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/345f8db1c49efe3d9ca9859a296f24e728a3b43a?format=markdown)
