projects
/
psqlodbc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0c993d
)
It's safe to add this change in addition to the previous commit.
author
U-Lenovo-PC\hiroshi
<hiroshi@Lenovo-PC.(none)>
Sat, 14 Jun 2014 13:28:22 +0000
(22:28 +0900)
committer
U-Lenovo-PC\hiroshi
<hiroshi@Lenovo-PC.(none)>
Sat, 14 Jun 2014 13:33:31 +0000
(22:33 +0900)
d0c993d3f6f0a4496a20486f2ec19b14591baba7
Author: U-Lenovo-PC\hiroshi <hiroshi@Lenovo-PC.(none)>
Date: Sat Jun 14 21:53:57 2014 +0900
Fix potentially uninitialized local pointer access which causes
fatal compilation errors on vs2012/2013 reported by Craig Ringer.
dlg_wingui.c
patch
|
blob
|
blame
|
history
diff --git
a/dlg_wingui.c
b/dlg_wingui.c
index dc4aa57ceaa6e7f64de12d7c285138f17ca69886..e68d4bd7535d508ae50e05c00ddb6076b198bd25 100644
(file)
--- a/
dlg_wingui.c
+++ b/
dlg_wingui.c
@@
-171,6
+171,8
@@
driver_optionsDraw(HWND hdlg, const ConnInfo *ci, int src, BOOL enable)
defset = TRUE;
comval = &defval;
break;
+ default:
+ return 0;
}
ShowWindow(GetDlgItem(hdlg, DRV_MSG_LABEL2), enable ? SW_SHOW : SW_HIDE);