From 72468e97b630d07e3ccf982631f5f3ba2c3d9409 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Thu, 1 Jan 2015 18:00:07 +0000 Subject: [PATCH] mm.c: Kill pointless initialization. "ret" is set in the first statement after the declarations. Found by cppcheck. --- mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mm.c b/mm.c index bcaee998..c87b471d 100644 --- a/mm.c +++ b/mm.c @@ -203,7 +203,7 @@ struct mm_year_data { static int mm_year_parser(int argc, char **argv, void **private) { - int ret = -E_MOOD_SYNTAX; + int ret; struct mm_year_data *mmyd = para_malloc(sizeof(*mmyd)); time_t current_time; struct tm *gmt; -- 2.39.5