Disable the potentially uninitialized variable warning
for 'ri'. The variable cannot be used when uninitialized.
ticket: new
component: windows
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20020
dc483132-0cff-0310-8789-
dd5450dbe970
#define CW_ER_GREY 1
#define CW_ER_SEL 2
+#pragma warning(push)
+#pragma warning(disable: 4701)
void
cw_erase_rect(HDC hdc,
khui_credwnd_tbl * tbl,
if(!rie) {
FillRect(hdc, r_erase, hbr);
} else {
- HDC hdcb = CreateCompatibleDC(hdc);
+ HDC hdcb = CreateCompatibleDC(hdc);
HBITMAP hbmold = SelectObject(hdcb, tbl->kbm_logo_shade.hbmp);
BitBlt(hdc, ri.left, ri.top, ri.right - ri.left, ri.bottom - ri.top,
}
}
}
+#pragma warning(pop)
void
cw_draw_header(HDC hdc,