diff options
author | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-10-10 16:07:55 +0200 |
---|---|---|
committer | Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> | 2019-10-11 19:57:28 +0200 |
commit | 58c4fa1061d07d35805bbb5cc8af7b36129d4509 (patch) | |
tree | 40a04a86367da2c879bc1cf1f32b4bbc5ec1a90a /src/widgets/graphicsview/qgraphicsscene.h | |
parent | 7fbadeddc14304d595aeaaaa6d398dcb21d86404 (diff) |
JPEG image handler: drop a use of "volatile"
The reading code protects a local variable with volatile. In this case
the only possible reason to apply volatile seems to be protecting the
variable across the subsequent setjmp/longjmp. However, the variable is
never accessed after the longjmp (the function returns). So, drop the
volatile.
Change-Id: Ibecb11a9edcc6027b2fd52b555287ad53375a5d0
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsscene.h')
0 files changed, 0 insertions, 0 deletions