ole32: don't check whether a 64 bit number will fit in 64 bits
Dan Kegel
dank at kegel.com
Sun Sep 4 18:58:53 CDT 2011
gcc points out that it's silly to check whether a 64 bit number will
fit in 64 bits:
variant.c: In function ‘VarNumFromParseNum’:
variant.c:2089: error: logical ‘||’ with non-zero constant will always
evaluate as true
variant.c:2089: error: logical ‘&&’ with non-zero constant will always
evaluate as true
Remove the redundant check to make -Werror happier.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ole32-placate-Wlogical-op.patch
Type: text/x-patch
Size: 1867 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110904/64c981d9/attachment.bin>
More information about the wine-patches
mailing list