John Marriott wrote: > If FEAT_CRYPT is not defined I get the following warning (on Mingw64): > > gcc -c -Iproto -DWIN32 -DWINVER=0x0603 -D_WIN32_WINNT=0x0603 > -DHAVE_PATHDEF -DFEAT_NORMAL -DMS_WIN64 -DFEAT_DIRECTX -DDYNAMIC_DIRECTX > -DFEAT_GUI_W32 -DFEAT_CLIPBOARD -pipe -march=x86-64 -Wall -O3 > -fomit-frame-pointer -freg-struct-return -s undo.c -o gobjx86-64/undo.o > undo.c:119:12: warning: 'undo_flush' declared 'static' but never defined > [-Wunused-function] > static int undo_flush(bufinfo_T *bi); > > > Attached patch removes the warning, but the declaration of undo_flush() > is inside an ifdef FEAT_PERSISTENT_UNDO block and I'm not certain that > is the right solution.
Yes it's right, thanks. -- Q: Why do ducks have flat feet? A: To stamp out forest fires. Q: Why do elephants have flat feet? A: To stamp out flaming ducks. /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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.
