locale: add _unused_ attribute for dummy variable
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 6 Jun 2018 08:13:12 +0000 (17:13 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 6 Jun 2018 10:27:52 +0000 (12:27 +0200)
commit60091993a92cb3076ed1bc0a18141d79e2984adf
tree0cd7a35afe0f68bec94c4dcfd0ac50ce023ac8bb
parent2b3df1963c0070f4f092055fd0aa9f5b1e515ce9
locale: add _unused_ attribute for dummy variable

This suppresses the following warning by clang:
```
[588/1179] Compiling C object 'systemd-localed@exe/src_locale_localed.c.o'.
../src/locale/localed.c:271:39: warning: unused variable 'dummy' [-Wunused-variable]
        _cleanup_(locale_free) char **dummy = new_locale;
                                      ^
```
src/locale/localed.c