aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-08-07 20:49:20 +0000
committerEric Wong <normalperson@yhbt.net>2006-08-07 20:49:20 +0000
commitae97bcdfa2fcf2ead5c712596f97e0d40c7b32fb (patch)
tree6af65839e05fbba410445e466aa8e767f888d279 /src/main.c
parentd54df97b064cfc00d68e04218432d58889fecb5d (diff)
downloadmpd-ae97bcdfa2fcf2ead5c712596f97e0d40c7b32fb.tar.gz
mpd-ae97bcdfa2fcf2ead5c712596f97e0d40c7b32fb.tar.xz
mpd-ae97bcdfa2fcf2ead5c712596f97e0d40c7b32fb.zip
sparse / gcc-2.95 / -pedantic fixes
Not everybody has access to the latest and greatest compilers. git-svn-id: https://svn.musicpd.org/mpd/trunk@4595 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 30324cea2..43311b3a7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -415,6 +415,7 @@ static void killFromPidFile(char *cmd, int killOption)
int main(int argc, char *argv[])
{
Options options;
+ clock_t start;
closeAllFDs();
@@ -477,7 +478,7 @@ int main(int argc, char *argv[])
freeAllInterfaces();
closeAllListenSockets();
- clock_t start = clock();
+ start = clock();
closeMp3Directory();
DEBUG("closeMp3Directory took %f seconds\n",
((float)(clock()-start))/CLOCKS_PER_SEC);