# Property-Based Testing with PropEr, Erlang, and Elixir: (suppress the warning by assigning the expression to the \_ variable (page 89)

**URL:** <https://forum.devtalk.com/t/property-based-testing-with-proper-erlang-and-elixir-suppress-the-warning-by-assigning-the-expression-to-the-variable-page-89/10520>\
**Category:** PragProg Customers\
**Tags:** pragprogelixirerlang, book-property-based-testing-with-proper-erlang-and-elixir, suggestion\
**Created:** [14 June 2021 06:48 UTC](https://forum.devtalk.com/t/property-based-testing-with-proper-erlang-and-elixir-suppress-the-warning-by-assigning-the-expression-to-the-variable-page-89/10520 "2021-06-14T06:48:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rustkas](https://forum.devtalk.com/user_avatar/forum.devtalk.com/rustkas/32/2933_2.png) [@rustkas](https://forum.devtalk.com/u/rustkas)\
**Post date:** [14 June 2021 06:48 UTC](https://forum.devtalk.com/t/property-based-testing-with-proper-erlang-and-elixir-suppress-the-warning-by-assigning-the-expression-to-the-variable-page-89/10520/1 "2021-06-14T06:48:21Z")

</div>

While running code example one of expression’s result is unused. It is easy to fix. Just use “\_” variable. That structure inform the compiler that it is Ok ignoring expression’s result.  
For example:

```auto
 _ = [maps:get(K, M) || {K, _V} <- KV],

```
