projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix various small compiler warnings, mostly unused local variables
[u/mdw/putty]
/
winctrls.c
diff --git
a/winctrls.c
b/winctrls.c
index
61821c3
..
de4812c
100644
(file)
--- a/
winctrls.c
+++ b/
winctrls.c
@@
-159,7
+159,6
@@
void multiedit(struct ctlpos *cp, ...)
void dropdownlist(struct ctlpos *cp, char *text, int staticid, int listid)
{
RECT r;
void dropdownlist(struct ctlpos *cp, char *text, int staticid, int listid)
{
RECT r;
- va_list ap;
r.left = GAPBETWEEN;
r.right = cp->width;
r.left = GAPBETWEEN;
r.right = cp->width;
@@
-995,7
+994,7
@@
int handle_prefslist(struct prefslist *hdl,
if (is_dlmsg) {
if (is_dlmsg) {
- if (wParam == hdl->listid) {
+ if (
(int)
wParam == hdl->listid) {
DRAGLISTINFO *dlm = (DRAGLISTINFO *)lParam;
int dest;
switch (dlm->uNotification) {
DRAGLISTINFO *dlm = (DRAGLISTINFO *)lParam;
int dest;
switch (dlm->uNotification) {