]> git.droids-corp.org - aversive.git/commitdiff
error: fix compilation
authorOlivier Matz <zer0@droids-corp.org>
Sat, 24 May 2014 16:52:30 +0000 (18:52 +0200)
committerOlivier Matz <zer0@droids-corp.org>
Sat, 24 May 2014 16:54:03 +0000 (18:54 +0200)
Signed-off-by: Olivier Matz <zer0@droids-corp.org>
modules/debug/error/error.c

index c2cf970d12a009719895110ad8382d04c62455b1..32020776b77cf196a9ca7cc5a259bd7a48b90fee 100644 (file)
@@ -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;