# add compile error for ignoring return value of while loop bodies · gitcafe/zig

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

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

Visibility: public

Requested revision: 2cbad364c1d23b64ae064f8547590c133b4f070a

Requested commit: 2cbad364c1d23b64ae064f8547590c133b4f070a

Commit: 2cbad364c1d23b64ae064f8547590c133b4f070a

Tree: b7ff7ef918cb2a8bb3a55eacfa0ca9b95b05cafd

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
add compile error for ignoring return value of while loop bodies

closes #1049

```

## Parents

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

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