diff options
author | Sebastian Bauer <mail@sebastianbauer.info> | 2013-01-11 10:47:44 +0100 |
---|---|---|
committer | Sebastian Bauer <mail@sebastianbauer.info> | 2013-01-11 11:03:48 +0100 |
commit | 976d9e136fe62bd0a1f966737d3fb3e88018d684 (patch) | |
tree | 0cb46bffb109824df6feb972b77281a476421854 /tests-clar/diff/patch.c | |
parent | d2f14df8c16a5660241f2e79cf2c6142aa3704ca (diff) | |
download | libgit2-976d9e136fe62bd0a1f966737d3fb3e88018d684.tar.gz |
regex: Fixed warnings about unused parameter values.
There are different solutions to the problem. In this change, we
define an UNUSED macro that maps to __attribute__((unused)) when
compiling with gcc. Otherwise it is a NOOP. We apply this macro
in all function headers for each parameter value that is not used
within the function body.
The change is local to regex.
Diffstat (limited to 'tests-clar/diff/patch.c')
0 files changed, 0 insertions, 0 deletions