# sema: remove source location logic in zirExportValue · gitcafe/zig

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

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

Visibility: public

Requested revision: ba9e38847a097777370b4721780d5dbefda1b12f

Requested commit: ba9e38847a097777370b4721780d5dbefda1b12f

Commit: ba9e38847a097777370b4721780d5dbefda1b12f

Tree: d66fea4c10e599ee96697da051e50c103ff17539

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
sema: remove source location logic in zirExportValue

`.unneeded` source location should never be passed when the source
location is in fact available.

```

## Parents

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

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