Fix assignment-as-condition warning


qgeofiletilecacheosm.cpp:71:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (tt = getFromOfflineStorage(spec))
        ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
qgeofiletilecacheosm.cpp:71:12: note: place parentheses around the assignment to silence this warning
    if (tt = getFromOfflineStorage(spec))
           ^
        (                               )
qgeofiletilecacheosm.cpp:71:12: note: use '==' to turn this assignment into an equality comparison
    if (tt = getFromOfflineStorage(spec))
           ^
           ==

Assuming this is not meant to be a comparisson but a check if the return
value is not-0, I added the parentheses.

Change-Id: Ic4e14d7ea8cc5283c70d061433fe482ee4e8b38b
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commita1268320b93be2d47e16ef143838825597a20312
parenta93379343e8f923b8095316200fb8667587a0edd
authorErik Verbruggen <erik.verbruggen@qt.io>
committerErik Verbruggen <erik.verbruggen@qt.io>
commit timeThu, 6 Oct 2016 13:42:46 +0000