It's safe to add this change in addition to the previous commit.
authorU-Lenovo-PC\hiroshi <hiroshi@Lenovo-PC.(none)>
Sat, 14 Jun 2014 13:28:22 +0000 (22:28 +0900)
committerU-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

index dc4aa57ceaa6e7f64de12d7c285138f17ca69886..e68d4bd7535d508ae50e05c00ddb6076b198bd25 100644 (file)
@@ -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);