[riot-devel] [RIOT] add way to declare parameter as unused (#72)

Christian Mehlis notifications at github.com
Wed Jul 17 20:37:09 CEST 2013


Riot lags some way to declare, that a function parameter
is unused. This commit adds a file called "unused.h",
which defines some nice macros.

http://stackoverflow.com/questions/3599160/unused-parameter-warnings-in-c-code

this commit fixes #62 (the discussion wasn't finally over in this issue)
You can merge this Pull Request by running:

  git pull https://github.com/mehlis/RIOT unused-parameter-macro

Or you can view, comment on it, or merge it online at:

  https://github.com/RIOT-OS/RIOT/pull/72

-- Commit Summary --

  * add way to declare parameter as unused

-- File Changes --

    A core/include/unused.h (22)
    M core/mutex.c (9)
    M core/oneway_malloc.c (4)
    M cpu/native/hwtimer_cpu.c (3)
    M cpu/native/irq_cpu.c (3)
    M cpu/native/rtc/posix-rtc.c (3)
    M sys/shell/commands/sc_ltc4150.c (6)
    M sys/shell/commands/sc_ps.c (4)
    M sys/vtimer/vtimer.c (6)

-- Patch Links --

https://github.com/RIOT-OS/RIOT/pull/72.patch
https://github.com/RIOT-OS/RIOT/pull/72.diff

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20130717/6e8281b9/attachment.html>


More information about the devel mailing list