diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-12-02 10:05:53 +0100 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-12-13 10:35:36 +0000 |
commit | 97146be88306270a05747bc2903eac678fb1ae2e (patch) | |
tree | b22f46f87c4ef1087474000b803dbadc39e603b4 /ui/win32 | |
parent | 252486e967bcd84ebb96aa747be54752092e9f98 (diff) | |
download | wireshark-97146be88306270a05747bc2903eac678fb1ae2e.tar.gz |
The variable is assigned values twice successively found by PVS Studio (V519)
Change-Id: I063b0ee2dd4ed948f889c33ab458df20079a64ff
Reviewed-on: https://code.wireshark.org/review/12370
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui/win32')
-rw-r--r-- | ui/win32/print_win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/win32/print_win32.c b/ui/win32/print_win32.c index cfa211cb8e..7ccb36c465 100644 --- a/ui/win32/print_win32.c +++ b/ui/win32/print_win32.c @@ -209,7 +209,7 @@ static void print_file(const char *file_name, HDC hdc, int width, int height) /* send buffer */ buf[cnt] = 0; TextOut(hdc, X_OFFSET,y_pos, buf, (int) strlen(buf)); - y_pos += tm.tmHeight; + /*y_pos += tm.tmHeight;*/ cnt = 0; /* reset page */ |