From: Travis Cross Date: Sun, 26 May 2013 04:53:16 +0000 (+0000) Subject: Remove unused variable in mod_rtmp X-Git-Tag: v1.2.13~313 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=acc8eb5cb6dfccdaa4a73551769f8681e4d32095;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 5226bad829..58bbe06fb6 100644 --- a/src/mod/endpoints/mod_rtmp/mod_rtmp.c +++ b/src/mod/endpoints/mod_rtmp/mod_rtmp.c @@ -1213,7 +1213,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);