diff options
Diffstat (limited to 'src/player.c')
-rw-r--r-- | src/player.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/player.c b/src/player.c index 6e2e11afe..b976dce7f 100644 --- a/src/player.c +++ b/src/player.c @@ -297,7 +297,7 @@ int getPlayerError(void) char *getPlayerErrorStr(void) { - static char *error = NULL; + static char *error; int errorlen = MAXPATHLEN + 1024; PlayerControl *pc = &(getPlayerData()->playerControl); @@ -504,8 +504,8 @@ void playerCycleLogFiles(void) /* this actually creates a dupe of the current metadata */ Song *playerCurrentDecodeSong(void) { - static Song *song = NULL; - static MetadataChunk *prev = NULL; + static Song *song; + static MetadataChunk *prev; Song *ret = NULL; PlayerControl *pc = &(getPlayerData()->playerControl); |