aboutsummaryrefslogtreecommitdiffstats
path: root/src/stats.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-15 05:04:16 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-15 05:04:16 +0000
commit3ad41fdda63edee8d2acadbc564137939fc5d1ab (patch)
tree27ed6366f41943c7a7d425f07e59a3c36b5c68c7 /src/stats.c
parentbe006b86ed2802cd76b5b39be8adbd2d9c3c4ce7 (diff)
downloadmpd-3ad41fdda63edee8d2acadbc564137939fc5d1ab.tar.gz
mpd-3ad41fdda63edee8d2acadbc564137939fc5d1ab.tar.xz
mpd-3ad41fdda63edee8d2acadbc564137939fc5d1ab.zip
[CLEANUP] Remove unused code
Cleanup whitespace->tabs git-svn-id: https://svn.musicpd.org/mpd/trunk@4347 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r--src/stats.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/stats.c b/src/stats.c
index 2b7f6c218..5f03874c3 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -31,8 +31,6 @@ Stats stats;
void initStats() {
stats.daemonStart = time(NULL);
stats.numberOfSongs = 0;
- /*stats.playTime = 0;
- stats.songsPlayed = 0;*/
}
int printStats(FILE * fp) {
@@ -42,7 +40,6 @@ int printStats(FILE * fp) {
myfprintf(fp,"uptime: %li\n",time(NULL)-stats.daemonStart);
myfprintf(fp,"playtime: %li\n",(long)(getPlayerTotalPlayTime()+0.5));
myfprintf(fp,"db_playtime: %li\n",stats.dbPlayTime);
- /*myfprintf(fp,"songs_played: %li\n",stats.songsPlayed);*/
myfprintf(fp,"db_update: %li\n",getDbModTime());
return 0;
}