diff options
author | Max Kellermann <max@duempel.org> | 2008-10-03 14:26:00 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-10-03 14:26:00 +0200 |
commit | 98e5157bc23dcc95cd65a1858075ed47e657f2c1 (patch) | |
tree | 939641c9dab66b4b9950932283ed4b34f1a379ec /src/options.c | |
parent | 7e81521772240ec3567a1773d2919a3e90d104c7 (diff) | |
download | mpd-98e5157bc23dcc95cd65a1858075ed47e657f2c1.tar.gz mpd-98e5157bc23dcc95cd65a1858075ed47e657f2c1.tar.xz mpd-98e5157bc23dcc95cd65a1858075ed47e657f2c1.zip |
options: don't initialize with memset(0)
Global variables are already initialized with zero when the program
starts, don't memset(0) again.
Diffstat (limited to '')
-rw-r--r-- | src/options.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c index 53f54b7eb..8f24e107a 100644 --- a/src/options.c +++ b/src/options.c @@ -318,8 +318,6 @@ options_init(void) const char *value; char *tmp; - memset(&options, 0, sizeof(options_t)); - /* get initial values for host and password from MPD_HOST (enviroment) */ if ((value = g_getenv(MPD_HOST_ENV))) options.host = g_strdup(value); |