From e018143443948b6d9533b1007c2c8c2d97fdef0e Mon Sep 17 00:00:00 2001 From: Leandro Dorileo Date: Thu, 15 Jan 2015 18:38:59 -0200 Subject: [PATCH 1/1] daemon: handle LMS_PROGRESS_STATUS_UNKNOWN value on switch Since lms_progress_status_t has a new value we need to handle that case within scan_progress_cb and make the compiler a bit happier. --- src/bin/lightmediascannerd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/bin/lightmediascannerd.c b/src/bin/lightmediascannerd.c index bfe2a70..319db42 100644 --- a/src/bin/lightmediascannerd.c +++ b/src/bin/lightmediascannerd.c @@ -656,6 +656,7 @@ scan_progress_cb(lms_t *lms, const char *path, int pathlen, lms_progress_status_ case LMS_PROGRESS_STATUS_DELETED: sp->deleted++; break; + case LMS_PROGRESS_STATUS_UNKNOWN: case LMS_PROGRESS_STATUS_KILLED: case LMS_PROGRESS_STATUS_ERROR_PARSE: case LMS_PROGRESS_STATUS_ERROR_COMM: -- 2.7.4