]> git.ipfire.org Git - thirdparty/asterisk.git/commit
test_crypto.c: Fix getcwd(…) build error.
authorSean Bright <sean@seanbright.com>
Mon, 27 Feb 2023 21:35:57 +0000 (16:35 -0500)
committerGeorge Joseph <gjoseph@digium.com>
Tue, 28 Feb 2023 13:52:35 +0000 (07:52 -0600)
commitf4965b9430017f220d7d9ddf62367884bb79d959
treeb82583d298470f381c3171a8798eb9f25c63d31a
parent6aa28346cf9c3e5279cfc9c7e743cf417ecdebb9
test_crypto.c: Fix getcwd(…) build error.

`getcwd(…)` is decorated with the `warn_unused_result` attribute and
therefore needs its return value checked.

Change-Id: Idcccb20a0abf293202c28633d0e9ee0f6a9dbe93
tests/test_crypto.c