summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-10-10 16:07:55 +0200
committerGiuseppe D'Angelo <giuseppe.dangelo@kdab.com>2019-10-11 19:57:28 +0200
commit58c4fa1061d07d35805bbb5cc8af7b36129d4509 (patch)
tree40a04a86367da2c879bc1cf1f32b4bbc5ec1a90a /examples
parent7fbadeddc14304d595aeaaaa6d398dcb21d86404 (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 'examples')
0 files changed, 0 insertions, 0 deletions