1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #2788 from Lotterleben/fib_parenteses_fix

FIB: remove extraneous parentheses
This commit is contained in:
BytesGalore 2015-04-10 16:39:29 +02:00
commit 073f117ad6

View File

@ -77,7 +77,7 @@ static universal_address_container_t *universal_address_get_next_unused_entry(vo
{
if (universal_address_table_filled < UNIVERSAL_ADDRESS_MAX_ENTRIES) {
for (size_t i = 0; i < UNIVERSAL_ADDRESS_MAX_ENTRIES; ++i) {
if ((universal_address_table[i].use_count == 0)) {
if (universal_address_table[i].use_count == 0) {
return &(universal_address_table[i]);
}
}
@ -256,6 +256,6 @@ void universal_address_print_table(void)
(int)universal_address_table_filled);
for (size_t i = 0; i < UNIVERSAL_ADDRESS_MAX_ENTRIES; ++i) {
universal_address_print_entry((&universal_address_table[i]));
universal_address_print_entry(&universal_address_table[i]);
}
}