From: Andre Noll Date: Thu, 1 Jan 2015 18:00:07 +0000 (+0000) Subject: mm.c: Kill pointless initialization. X-Git-Tag: v0.5.4~28 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=72468e97b630d07e3ccf982631f5f3ba2c3d9409;p=paraslash.git mm.c: Kill pointless initialization. "ret" is set in the first statement after the declarations. Found by cppcheck. --- 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;