From 518ac1b415b1c5a0792a22599482d66a26c12c8f Mon Sep 17 00:00:00 2001 From: William S Fulton Date: Sun, 6 Apr 2008 21:22:38 +0000 Subject: [PATCH] suppress warning for Lua git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10360 626c5289-ae23-0410-ae9c-e8d60b6d4f22 --- Examples/test-suite/char_strings.i | 1 + 1 file changed, 1 insertion(+) diff --git a/Examples/test-suite/char_strings.i b/Examples/test-suite/char_strings.i index 2c0ef553d..a91afaded 100644 --- a/Examples/test-suite/char_strings.i +++ b/Examples/test-suite/char_strings.i @@ -7,6 +7,7 @@ below. %module char_strings %warnfilter(SWIGWARN_TYPEMAP_VARIN_UNDEF) global_char_array1; // Unable to set variable of type char[] +%warnfilter(SWIGWARN_TYPEMAP_CHARLEAK_MSG) global_const_char; // Setting a const char * variable may leak memory. %{ #define OTHERLAND_MSG "Little message from the the safe world."