repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix unused warnings.
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
980716-1.c
blob
91e5518d53f8f9a9924d45217f6ad550d420f039
1
#include <stdarg.h>
2
3
void
4
stub
(
int
num
, ...)
5
{
6
va_list
ap
;
7
char
*
end
;
8
int
i
;
9
10
for
(
i
=
0
;
i
<
2
;
i
++) {
11
va_start
(
ap
,
num
);
12
while
(
1
) {
13
end
=
va_arg
(
ap
,
char
*);
14
if
(!
end
)
break
;
15
}
16
va_end
(
ap
);
17
}
18
}
19
20
int
21
main
()
22
{
23
stub
(
1
,
"ab"
,
"bc"
,
"cx"
,
0
);
24
exit
(
0
);
25
}
26