no point in clearing a local variable just before return
authorLuigi Rizzo <rizzo@icir.org>
Wed, 3 May 2006 17:30:37 +0000 (17:30 +0000)
committerLuigi Rizzo <rizzo@icir.org>
Wed, 3 May 2006 17:30:37 +0000 (17:30 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24462 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channel.c

index aba97cf..c38b375 100644 (file)
--- a/channel.c
+++ b/channel.c
@@ -1033,7 +1033,6 @@ int ast_channel_datastore_free(struct ast_datastore *datastore)
 
        /* Finally free memory used by ourselves */
        free(datastore);
-       datastore = NULL;
 
        return res;
 }