aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:17:26 +0000
committerAlexis La Goutte <alexis.lagoutte@gmail.com>2012-01-13 16:17:26 +0000
commit6096016f94c95cc5dde73683ccd440e51f51975a (patch)
tree1ed3ab1fd68b3482d7615980bee6bd437a8e1a30
parent3712c6f6d1a9cb3d95c11c476b513f51ac375c00 (diff)
Fix some Dereference of null pointer Warning found by Clang
svn path=/trunk/; revision=40457
-rw-r--r--epan/tcap-persistentdata.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/epan/tcap-persistentdata.c b/epan/tcap-persistentdata.c
index 01d1109663..e9c8dcc5ca 100644
--- a/epan/tcap-persistentdata.c
+++ b/epan/tcap-persistentdata.c
@@ -1114,7 +1114,6 @@ tcaphash_begin_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
dbg(12,"Update key %lx ",tcaphash_begin_key.hashKey);
#endif
update_tcaphash_begincall(p_new_tcaphash_begincall, pinfo);
- p_tcaphash_begincall=p_new_tcaphash_begincall;
} else { /* timeout or message lost */
/* If the Tid is reused for a closed Transaction */
@@ -1136,7 +1135,6 @@ tcaphash_begin_matching(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree,
dbg(12,"Update key %lu ",tcaphash_begin_key.hashKey);
#endif
update_tcaphash_begincall(p_new_tcaphash_begincall, pinfo);
- p_tcaphash_begincall=p_new_tcaphash_begincall;
} else {
/* the TCAP session is not closed, so, either messages have been lost */