From 5141d245657345ce44ad47f00e4fc18b4f06e65a Mon Sep 17 00:00:00 2001 From: Brendan Le Foll Date: Tue, 13 May 2014 22:18:22 +0000 Subject: [PATCH] pwm: always return a value if stated in prototype Signed-off-by: Brendan Le Foll --- src/pwm/pwm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pwm/pwm.c b/src/pwm/pwm.c index 9c63502..ad7d30d 100644 --- a/src/pwm/pwm.c +++ b/src/pwm/pwm.c @@ -226,6 +226,7 @@ maa_pwm_unexport(maa_pwm_context* dev) fclose(unexport_f); if (ferror(unexport_f) != 0) return MAA_ERROR_INVALID_RESOURCE; + return MAA_SUCCESS; } maa_result_t -- 2.7.4