Hello!

I just upgraded from patch level 841 to 854 -- and got two warnings. 
I've provided a trivial patch for the eval.c one and, as the misc

* eval.c|4412 error| 'i' undeclared (first use in this function)
* misc2.c|6265 warning| ignoring return value of 'fwrite', declared with
attribute warn_unused_result

I've "fixed" the latter warning by
   size_t throwaway;
  ...
  throwaway= fwrite(...

but I'm not sure that that approach is best (undoubtedly some compiler
will complain of an unused variable).

Regards,
Chip Campbell

-- 
-- 
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

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.
*** old_eval.c  2015-09-03 14:07:20.254837390 -0400
--- eval.c      2015-09-03 14:07:31.604038517 -0400
***************
*** 4407,4412 ****
--- 4407,4413 ----
                    break;
        case 'i':   if (p[1] == 's')
                    {
+                       int i;
                        if (p[2] == 'n' && p[3] == 'o' && p[4] == 't')
                            len = 5;
                        i = p[len];

Raspunde prin e-mail lui