diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-11-24 09:36:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-11-24 09:36:48 +0400 |
commit | 8fc11f79c5cd198355f8256a0e4f863fd7cd5a82 (patch) | |
tree | c67821ea575c343691bc87e33d7a6805735436e8 /source/blender/blenfont/BLF_translation.h | |
parent | dd9a2ead2754298547e09ab67bf93742320254a8 (diff) |
quiet warning about the context not being used when internationalization is disabled.
Diffstat (limited to 'source/blender/blenfont/BLF_translation.h')
-rw-r--r-- | source/blender/blenfont/BLF_translation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/BLF_translation.h b/source/blender/blenfont/BLF_translation.h index 918bcc5bf75..159d4b067b6 100644 --- a/source/blender/blenfont/BLF_translation.h +++ b/source/blender/blenfont/BLF_translation.h @@ -85,8 +85,8 @@ const char *BLF_translate_do_tooltip(const char *msgctxt, const char *msgid); /* #define _(msgid) msgid */ #define IFACE_(msgid) msgid #define TIP_(msgid) msgid - #define CTX_IFACE_(context, msgid) msgid - #define CTX_TIP_(context, msgid) msgid + #define CTX_IFACE_(context, msgid) ((void)context, msgid) + #define CTX_TIP_(context, msgid) ((void)context, msgid) #endif /* Helper macro, when we want to define a same msgid for multiple msgctxt... |