mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-05-30 00:04:49 -05:00
Fixed unused-variable warnings from MinGW gcc.
This commit is contained in:
parent
5c42f97b68
commit
af64ccc895
@ -267,10 +267,9 @@ void radioline(struct ctlpos *cp, char *text, int id, int nacross, ...)
|
|||||||
nbuttons = 0;
|
nbuttons = 0;
|
||||||
while (1) {
|
while (1) {
|
||||||
char *btext = va_arg(ap, char *);
|
char *btext = va_arg(ap, char *);
|
||||||
int bid;
|
|
||||||
if (!btext)
|
if (!btext)
|
||||||
break;
|
break;
|
||||||
bid = va_arg(ap, int);
|
(void) va_arg(ap, int); /* id */
|
||||||
nbuttons++;
|
nbuttons++;
|
||||||
}
|
}
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
@ -299,10 +298,9 @@ void bareradioline(struct ctlpos *cp, int nacross, ...)
|
|||||||
nbuttons = 0;
|
nbuttons = 0;
|
||||||
while (1) {
|
while (1) {
|
||||||
char *btext = va_arg(ap, char *);
|
char *btext = va_arg(ap, char *);
|
||||||
int bid;
|
|
||||||
if (!btext)
|
if (!btext)
|
||||||
break;
|
break;
|
||||||
bid = va_arg(ap, int);
|
(void) va_arg(ap, int); /* id */
|
||||||
}
|
}
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
buttons = snewn(nbuttons, struct radio);
|
buttons = snewn(nbuttons, struct radio);
|
||||||
@ -330,10 +328,9 @@ void radiobig(struct ctlpos *cp, char *text, int id, ...)
|
|||||||
nbuttons = 0;
|
nbuttons = 0;
|
||||||
while (1) {
|
while (1) {
|
||||||
char *btext = va_arg(ap, char *);
|
char *btext = va_arg(ap, char *);
|
||||||
int bid;
|
|
||||||
if (!btext)
|
if (!btext)
|
||||||
break;
|
break;
|
||||||
bid = va_arg(ap, int);
|
(void) va_arg(ap, int); /* id */
|
||||||
}
|
}
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
buttons = snewn(nbuttons, struct radio);
|
buttons = snewn(nbuttons, struct radio);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user