Remove some unnecessary variable initializations

Not really bugs, just wasted. They clutter up the output of static
analysis with cppcheck.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2013-01-25 16:17:55 -08:00
parent 3ab27e65e8
commit 3f261f56f3
4 changed files with 9 additions and 11 deletions

View file

@ -169,7 +169,7 @@ static void divedate(char *buffer, void *_when)
{
int d,m,y;
timestamp_t *when = _when;
int success = 0;
int success;
success = cur_tm.tm_sec | cur_tm.tm_min | cur_tm.tm_hour;
if (sscanf(buffer, "%d.%d.%d", &d, &m, &y) == 3) {