On 18/08/10 07:37, Dominique Pellé wrote:
[...]
Hi Tony

You're right. Code inside the if (isalpha((int)mediumVersion[3]))
would never be executed with mediumVersion being "7.3". So
there is no bug.

However, the warning is not pleasant. I don't see the warning
myself by the way using gcc-4.4.3.

Attached patch should pacify your compiler.

-- Dominique.


When I type "gcc --version" at the bash prompt, this is what I get:

gcc (SUSE Linux) 4.5.0 20100604 [gcc-4_5-branch revision 160292]
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Best regards,
Tony.
--
There was a young man from Bel-Aire
Who was screwing his girl on the stair,
        But the banister broke
        So he doubled his stroke
And finished her off in mid-air.

--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui