diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2012-11-18 00:43:09 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2012-11-18 00:43:09 +0000 |
commit | 69b32d921f9a2a257c5efb4a1694ff0e8526e0c5 (patch) | |
tree | 5fd5a32533904f551a06326090e7c4333c70b23b /Source/Swig/typemap.c | |
parent | b107f57e591147f262f613f61730827e3c7d71fd (diff) | |
download | swig-69b32d921f9a2a257c5efb4a1694ff0e8526e0c5.tar.gz |
Remove pointless null check
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@13899 626c5289-ae23-0410-ae9c-e8d60b6d4f22
Diffstat (limited to 'Source/Swig/typemap.c')
-rw-r--r-- | Source/Swig/typemap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Swig/typemap.c b/Source/Swig/typemap.c index c36eef679..2570e8090 100644 --- a/Source/Swig/typemap.c +++ b/Source/Swig/typemap.c @@ -1341,7 +1341,7 @@ static String *Swig_typemap_lookup_impl(const_String_or_char_ptr tmap_method, No pname = Getattr(node, "name"); noscope_pname = Copy(pname); - if (pname && node && Getattr(node, "sym:symtab")) { + if (pname && Getattr(node, "sym:symtab")) { /* Add on a qualified name search for any symbol in the symbol table, for example: * struct Foo { * int *foo(int bar) -> Foo::foo |