diff options
author | Kuang-che Wu <kcwu@google.com> | 2016-11-27 07:31:46 +0000 |
---|---|---|
committer | Kuang-che Wu <kcwu@google.com> | 2016-11-27 07:33:34 +0000 |
commit | 41a607b06e4475101de59e5c623b9e5f76594a21 (patch) | |
tree | e965222b3db8c71ec9ff2c331cc1f84b9ce3b563 /file.c | |
parent | Update ChangeLog (diff) | |
download | w3m-41a607b06e4475101de59e5c623b9e5f76594a21.tar.gz w3m-41a607b06e4475101de59e5c623b9e5f76594a21.zip |
fix uninitialized variable in process_img(). fix #44
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3263,9 +3263,9 @@ process_img(struct parsed_tag *tag, int width) } #endif } + i = -1; #ifdef USE_IMAGE if (use_image) { - i = -1; if (parsedtag_get_value(tag, ATTR_HEIGHT, &i)) { if (i > 0) { i = (int)(i * image_scale / 100 + 0.5); |