From e373f83660be2b813c19092a4688d25ef3e5ebaf Mon Sep 17 00:00:00 2001 From: Julien BLACHE Date: Wed, 4 Aug 2010 19:01:53 +0200 Subject: [PATCH] Kill useless memset() call --- src/httpd_dacp.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/httpd_dacp.c b/src/httpd_dacp.c index 35d3be17..419cfd04 100644 --- a/src/httpd_dacp.c +++ b/src/httpd_dacp.c @@ -221,8 +221,6 @@ make_playstatusupdate(struct evbuffer *evbuf) return -1; } - memset(&status, 0, sizeof(struct player_status)); - player_get_status(&status); if (status.status != PLAY_STOPPED)