Fix unused warnings in perl wrappers
This commit is contained in:
parent
624195f313
commit
db54a8d5d1
3 changed files with 5 additions and 2 deletions
|
|
@ -102,6 +102,7 @@ ANOTHER_MACRO(int)
|
|||
void another_macro_checking(void) {
|
||||
struct Defined d;
|
||||
d.defined = 10;
|
||||
(void)d;
|
||||
thing(10);
|
||||
stuff(10);
|
||||
bumpf(10);
|
||||
|
|
|
|||
|
|
@ -27,12 +27,14 @@
|
|||
(void)c;
|
||||
(void)d;
|
||||
(void)e;
|
||||
(void)f;
|
||||
}
|
||||
{ /* Test locals */
|
||||
basetemp.member = 0;
|
||||
startemp = &basetemp;
|
||||
temp = &startemp;
|
||||
amptemp = &temp;
|
||||
(void)amptemp;
|
||||
}
|
||||
{ /* Test descriptors */
|
||||
void *desc = $descriptor;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue