summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Altman <jaltman@secure-endpoints.com>2007-09-30 01:45:10 +0000
committerJeffrey Altman <jaltman@secure-endpoints.com>2007-09-30 01:45:10 +0000
commit7033af926d600bee30680e9d48e008ac2e735d56 (patch)
treeafa86e32fd9824ac038549d6980a31d12545e323
parentde50a7555c7a07bddb574d126becf176126a9452 (diff)
downloadkrb5-7033af926d600bee30680e9d48e008ac2e735d56.tar.gz
krb5-7033af926d600bee30680e9d48e008ac2e735d56.tar.xz
krb5-7033af926d600bee30680e9d48e008ac2e735d56.zip
NIM: disable warning
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
-rw-r--r--src/windows/identity/ui/credwnd.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/windows/identity/ui/credwnd.c b/src/windows/identity/ui/credwnd.c
index be2aa644d2..a77ea24f3b 100644
--- a/src/windows/identity/ui/credwnd.c
+++ b/src/windows/identity/ui/credwnd.c
@@ -2387,6 +2387,8 @@ cw_insert_header_cols(khui_credwnd_tbl * tbl) {
#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,
@@ -2433,7 +2435,7 @@ cw_erase_rect(HDC hdc,
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,
@@ -2467,6 +2469,7 @@ cw_erase_rect(HDC hdc,
}
}
}
+#pragma warning(pop)
void
cw_draw_header(HDC hdc,