diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-13 14:43:34 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2009-12-13 14:43:34 +0000 |
commit | 66482341573c035e4c90cee32b89fb7f59068e40 (patch) | |
tree | 2f4300caa98342f69b84e1dc39b94d5a58d3809c /LUFA/Drivers/Peripheral | |
parent | 32b7762325829c6e7a4168bb7db5084a34673f20 (diff) | |
download | lufa-66482341573c035e4c90cee32b89fb7f59068e40.tar.gz lufa-66482341573c035e4c90cee32b89fb7f59068e40.tar.bz2 lufa-66482341573c035e4c90cee32b89fb7f59068e40.zip |
Test with -Wextra, fix library warnings due to unused function parameters.
Diffstat (limited to 'LUFA/Drivers/Peripheral')
-rw-r--r-- | LUFA/Drivers/Peripheral/SerialStream.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/LUFA/Drivers/Peripheral/SerialStream.c b/LUFA/Drivers/Peripheral/SerialStream.c index f8839c9b4..0e7b24c53 100644 --- a/LUFA/Drivers/Peripheral/SerialStream.c +++ b/LUFA/Drivers/Peripheral/SerialStream.c @@ -35,12 +35,15 @@ FILE USARTStream = FDEV_SETUP_STREAM(SerialStream_TxByte, SerialStream_RxByte, _ static int SerialStream_TxByte(char DataByte, FILE *Stream)
{
+ (void)Stream;
+
Serial_TxByte(DataByte);
-
return 0;
}
static int SerialStream_RxByte(FILE *Stream)
{
+ (void)Stream;
+
return Serial_RxByte();
}
|