From: Travis Cross Date: Sun, 26 May 2013 04:53:16 +0000 (+0000) Subject: Remove unused variable in mod_rtmp X-Git-Tag: v1.4.1~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=065043ce67f6b0cc11f7dbb6bbba2ebd8588ef40;p=thirdparty%2Ffreeswitch.git Remove unused variable in mod_rtmp Unused variables break the build with recent versions of gcc and clang. --- diff --git a/src/mod/endpoints/mod_rtmp/mod_rtmp.c b/src/mod/endpoints/mod_rtmp/mod_rtmp.c index 42ff7d72d6..ec31e75d1e 100644 --- a/src/mod/endpoints/mod_rtmp/mod_rtmp.c +++ b/src/mod/endpoints/mod_rtmp/mod_rtmp.c @@ -1230,7 +1230,7 @@ switch_status_t rtmp_session_login(rtmp_session_t *rsession, const char *user, c switch_status_t rtmp_session_logout(rtmp_session_t *rsession, const char *user, const char *domain) { - rtmp_account_t *account, *prev = NULL; + rtmp_account_t *account; switch_event_t *event; switch_thread_rwlock_wrlock(rsession->account_rwlock);