diff options
author | Graham Bloice <graham.bloice@trihedral.com> | 2014-08-20 13:31:19 +0100 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2014-08-20 19:25:28 +0000 |
commit | 4ac0438e46f80fb70f4be05e0a45dd08fe74fe8d (patch) | |
tree | 4e05d5d6accb8d0173c6bc3de19128e21537a710 /ui/win32/print_win32.c | |
parent | 8fc0ee4c899e5eee8d84cafdd31c58c94eec6a8f (diff) | |
download | wireshark-4ac0438e46f80fb70f4be05e0a45dd08fe74fe8d.tar.gz |
In Visual Studio builds, enable the L4 warning
4189: Local variable is initialized but not referenced
Fix some variables found by this
Change-Id: Icc13def5413f1fe885ec25e659462c8906a6cfa0
Reviewed-on: https://code.wireshark.org/review/3748
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Evan Huus <eapache@gmail.com>
Diffstat (limited to 'ui/win32/print_win32.c')
-rw-r--r-- | ui/win32/print_win32.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/win32/print_win32.c b/ui/win32/print_win32.c index a8f5b7d989..aeb4de0fae 100644 --- a/ui/win32/print_win32.c +++ b/ui/win32/print_win32.c @@ -62,8 +62,6 @@ void print_mswin(const char *file_name) DOCINFO di; short int width, height; - HWND hWndParent = HWND_DESKTOP; /* would be better to be a real window */ - /* Need a printer DC to print to. */ hDC = get_printer_dc(&width, &height); |