Mercurial > hg > xmms-sid
comparison src/xs_slsup.c @ 763:61a527ac3baa
Cleanups, remove useless function.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 05 Nov 2012 22:39:12 +0200 |
parents | 55eea3fa8868 |
children | 5048b4799310 |
comparison
equal
deleted
inserted
replaced
762:03c5cde1dfbb | 763:61a527ac3baa |
---|---|
98 XS_MUTEX_LOCK(xs_cfg); | 98 XS_MUTEX_LOCK(xs_cfg); |
99 | 99 |
100 if (xs_cfg.stilDBEnable && xs_stildb_db) { | 100 if (xs_cfg.stilDBEnable && xs_stildb_db) { |
101 if (xs_cfg.hvscPath) { | 101 if (xs_cfg.hvscPath) { |
102 /* Remove postfixed directory separator from HVSC-path */ | 102 /* Remove postfixed directory separator from HVSC-path */ |
103 tmpFilename = xs_strrchr(xs_cfg.hvscPath, '/'); | 103 tmpFilename = strrchr(xs_cfg.hvscPath, '/'); |
104 if (tmpFilename && (tmpFilename[1] == 0)) | 104 if (tmpFilename && tmpFilename[1] == 0) |
105 tmpFilename[0] = 0; | 105 tmpFilename[0] = 0; |
106 | 106 |
107 /* Remove HVSC location-prefix from filename */ | 107 /* Remove HVSC location-prefix from filename */ |
108 tmpFilename = strstr(filename, xs_cfg.hvscPath); | 108 tmpFilename = strstr(filename, xs_cfg.hvscPath); |
109 if (tmpFilename) | 109 if (tmpFilename) |