aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/song.c')
-rw-r--r--src/song.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/song.c b/src/song.c
index 902cbeaf2..5466a7442 100644
--- a/src/song.c
+++ b/src/song.c
@@ -320,9 +320,9 @@ int updateSongInfo(Song * song)
* we free and recreate this memory we make sure to print it correctly*/
char *getSongUrl(Song * song)
{
- static char *buffer = NULL;
- static int bufferSize = 0;
- static Song *lastSong = NULL;
+ static char *buffer;
+ static int bufferSize;
+ static Song *lastSong;
int slen;
int dlen;
int size;