From: Luigi Rizzo Date: Wed, 3 May 2006 17:30:37 +0000 (+0000) Subject: no point in clearing a local variable just before return X-Git-Tag: 1.4.0-beta1~1594 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d1caf26728d0a7973feb283a5d76c899007969db;p=thirdparty%2Fasterisk.git no point in clearing a local variable just before return git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24462 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channel.c b/channel.c index aba97cf7fd..c38b375474 100644 --- 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; }