summaryrefslogtreecommitdiffstats
path: root/src/corelib/arch/qatomic_armv5.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2012-08-15 19:25:44 +0200
committerQt by Nokia <qt-info@nokia.com>2012-08-18 13:59:27 +0200
commit624911e48174094c80df7e27b28cc2b2d46f4398 (patch)
tree9fea768422d24bbd3b2c1eed8f2d6a1d3daf7100 /src/corelib/arch/qatomic_armv5.h
parented7b50fdb49dc40e891ae4ab1924a1e64f5481e1 (diff)
Fix -Wclobbered warnings
GCC warns: warning: argument 'x' might be clobbered by 'longjmp' or 'vfork' [-Wclobbered] Apparently, the real fix would be annotating the functions correctly with noreturn and returns_twice attributes, but there's also workarounds for these, at least in the png case, so adding volatile was the easier way out here. Needed a cast to lose the volatile again, passing the argument to qMin(). Change-Id: Id820cf9b65752359f3b8f268172ba71bc9a76784 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/corelib/arch/qatomic_armv5.h')
0 files changed, 0 insertions, 0 deletions