common,w32: Avoid unused var warning about msgcache.
authorWerner Koch <wk@gnupg.org>
Tue, 28 Jul 2015 15:38:44 +0000 (17:38 +0200)
committerWerner Koch <wk@gnupg.org>
Tue, 28 Jul 2015 15:38:44 +0000 (17:38 +0200)
commit4bc75337f31374b7424d7bdebf839dd91ec80c0a
treebbd7852bb043dc412a12e5a9324041001590102c
parent18f1e627c697d75175b79fe095305fa775f20841
common,w32: Avoid unused var warning about msgcache.

* common/i18n.c (USE_MSGCACHE): New.
(msgcache) [!USE_MSGCACHE]: Do not define.
(i18n_localegettext): Repalce #if conditions by USE_MSGCACHE.

Signed-off-by: Werner Koch <wk@gnupg.org>
common/i18n.c