diff options
author | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-07 13:05:36 +0200 |
---|---|---|
committer | sven-ola <sven-ola@3484d885-4da6-438d-b19d-107d078dd756> | 2010-10-07 13:05:36 +0200 |
commit | e566557c4514b4cc14171cb2581c8cc85902a430 (patch) | |
tree | aeb3f975aba34f99c178e3c74d4b0f8138d9ed80 /libip6t_MAP66.c | |
parent | adb5c71c3b3cfd01c0e27225cf9c58b90fbd3e3a (diff) | |
download | NPTv6-e566557c4514b4cc14171cb2581c8cc85902a430.tar NPTv6-e566557c4514b4cc14171cb2581c8cc85902a430.zip |
Review jan: remove unnecessary spin_lock, remove pointless void* cast.
git-svn-id: https://map66.svn.sourceforge.net/svnroot/map66@14 3484d885-4da6-438d-b19d-107d078dd756
Diffstat (limited to 'libip6t_MAP66.c')
-rw-r--r-- | libip6t_MAP66.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libip6t_MAP66.c b/libip6t_MAP66.c index 1d56d7f..35c8311 100644 --- a/libip6t_MAP66.c +++ b/libip6t_MAP66.c @@ -83,6 +83,9 @@ static int MAP66_parse( char *p; struct ip6t_MAP66_info* info = (struct ip6t_MAP66_info*)(*target)->data; + void* bla = NULL; + info = bla; + switch(c) { case '1': if (!optarg) { |