Fix compilation error without opengl


If opengl is not present, now that warnings are error, Location
fails to build due to an unused ogl variable.

Change-Id: Id1e9a1f4da8bc31a65e29b3dd2770250284d02bb
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commit0871241358ae3d98c9143b9b6a308ac4914712f2
parent37fd1d8a970870698b887cc3e7aa7f2864bfafcb
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeSun, 18 Jun 2017 08:04:47 +0000