# translate-c: fix crash when last stmt of stmt expr is a decl · gitcafe/zig

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

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

Visibility: public

Requested revision: a126afa1c3fe7e39678c201f6470b7899aedd47e

Requested commit: a126afa1c3fe7e39678c201f6470b7899aedd47e

Commit: a126afa1c3fe7e39678c201f6470b7899aedd47e

Tree: 64e2b09a82a6788b22d01c16107bb76472dc6c48

Author: Peng He

Committer: GitHub

## Message

```
translate-c: fix crash when last stmt of stmt expr is a decl


```

## Parents

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

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