From: Olivier Matz Date: Sat, 24 May 2014 16:52:30 +0000 (+0200) Subject: error: fix compilation X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=commitdiff_plain;h=6a4d2778a2e0ead8754eb8b2ae1b8a57d94de4d6 error: fix compilation Signed-off-by: Olivier Matz --- diff --git a/modules/debug/error/error.c b/modules/debug/error/error.c index c2cf970..3202077 100644 --- a/modules/debug/error/error.c +++ b/modules/debug/error/error.c @@ -1,6 +1,6 @@ -/* +/* * Copyright Droids Corporation, Microb Technology, Eirbot (2005) - * + * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -41,9 +41,13 @@ void error_init(void) } -struct error error_generate(uint8_t num, uint8_t severity, PGM_P t, - PGM_P f, uint16_t l) { - struct error e; +struct error error_generate(uint8_t num, uint8_t severity, PGM_P t, + PGM_P f, uint16_t l) +{ + struct error e; + + (void)f; + (void)l; e.err_num = num; e.severity = severity;