]> asedeno.scripts.mit.edu Git - PuTTY_svn.git/commit
Rework the new type-check in sresize so that it doesn't cause a
authorSimon Tatham <anakin@pobox.com>
Thu, 19 Jul 2012 04:29:50 +0000 (04:29 +0000)
committerSimon Tatham <anakin@pobox.com>
Thu, 19 Jul 2012 04:29:50 +0000 (04:29 +0000)
commit09a47be3d612c058439db8bb2ed4fb7a3f3d0b6c
treed857169071bd31067d4ad5bb251f6b96f7cd5f5e
parent6a22fb6299bfc64fff684436387f28f1657ed15b
Rework the new type-check in sresize so that it doesn't cause a
compile warning ('left-hand operand of comma expression has no
effect'), which of course becomes fatal under -Werror.

(This would have been instantly noticeable to people compiling with
the old-fashioned Makefile.gtk, which does include -Wall -Werror, but
those of us using the new autoconf makefile hadn't noticed.)

git-svn-id: http://svn.tartarus.org/sgt/putty@9582 cda61777-01e9-0310-a592-d414129be87e
puttymem.h