mc/edit
Sergei Trofimovich 4f2079fec7 clang: fixed useful warnings (-Wformat related)
../../mc/edit/editcmd.c:2519:50: error: field precision should have type 'int', but argument has type 'gsize' (aka 'unsigned long') [-Wformat]
    match_expr = g_strdup_printf ("(^|\\s+|\\b)%.*s[^\\s\\.=\\+\\[\\]\\(\\)\\,\\;\\:\\\"\\'\\-\\?\\/\\|\\\\\\{\\}\\*\\&\\^\\%%\\$#@\\!]+", word_len, bufpos);
                                                 ^                                                                                         ~~~~~~~~
../../mc/edit/editcmd.c:2700:38: error: field precision should have type 'int', but argument has type 'gsize' (aka 'unsigned long') [-Wformat]
    match_expr = g_strdup_printf ("%.*s", word_len, bufpos);
                                     ^    ~~~~~~~~
2 diagnostics generated.
make[2]: *** [editcmd.o] Error 1
make[2]: Target `all' not remade because of errors.
../../../mc/src/mcconfig/common.c:71:74: error: format string is not a string literal (potentially insecure) [-Wformat-security]
        g_propagate_error (error, g_error_new (mc_main_error_quark() ,0, strerror(errno)));
                                                                         ^~~~~~~~~~~~~~~
../../../mc/src/mcconfig/common.c:83:74: error: format string is not a string literal (potentially insecure) [-Wformat-security]
        g_propagate_error (error, g_error_new (mc_main_error_quark() ,0, strerror(errno)));
                                                                         ^~~~~~~~~~~~~~~
2 diagnostics generated.
make[3]: *** [libmcconfig_la-common.lo] Error 1
make[3]: Target `all' not remade because of errors.
../../mc/src/main.c:2165:41: error: format string is not a string literal (potentially insecure) [-Wformat-security]
        message (D_ERROR, _("Warning"), error->message);
                                        ^~~~~~~~~~~~~~
1 diagnostic generated.

Signed-off-by: Sergei Trofimovich <slyfox@inbox.ru>
2009-12-16 11:10:41 +02:00
..
.gitignore Added .svnignore files (same as .cvsignore) 2008-12-28 23:27:03 +02:00
bookmark.c De-inline a few functions which are large 2009-08-31 07:12:59 +03:00
choosesyntax.c Ticket #1451: fixed placement of choose encoding dialog window. 2009-10-15 11:40:30 +04:00
edit-impl.h Merged code of two functions edit_move_up() and edit_move_down() 2009-12-10 09:28:31 +03:00
edit-widget.h Show actual shortcuts in editor menu. 2009-10-26 16:15:32 +03:00
edit.c Editor: some code clean up. 2009-12-16 11:10:41 +02:00
edit.h Ticket #46 (mcedit: check POSIX newline at end of file) 2009-10-27 12:08:45 +00:00
editcmd_dialogs.c Modified dialog callback function. 2009-11-19 10:07:51 +03:00
editcmd_dialogs.h Added field lb (kind of line break) into WEdit struct 2009-08-31 13:20:49 +04:00
editcmd.c clang: fixed useful warnings (-Wformat related) 2009-12-16 11:10:41 +02:00
editdraw.c Editor: some code clean up. 2009-12-16 11:10:41 +02:00
editkeys.c Optimization of command handling. 2009-11-19 10:07:51 +03:00
editlock.c fixed several missing #include's 2009-06-18 21:02:29 +04:00
editlock.h Simple doxygen description for files in edit directory. 2009-02-10 16:07:59 +02:00
editmenu.c Modified menu command handling using DLG_ACTION message. 2009-11-19 10:07:51 +03:00
editoptions.c Ticket #1831: fixed compilation warings of --disable-nls and --disable-charset options. 2009-11-20 14:39:51 +03:00
editwidget.c Refactoring of editor initialization. 2009-12-16 11:10:40 +02:00
etags.c Ticket #267 (etags incorrect get the line number definition) 2009-08-15 11:36:57 +00:00
etags.h Reorganize work with files. Fixed permissions of files in mc home dir. All file names now accumulated into src/fileloc.h 2009-10-07 12:01:05 +03:00
Makefile.am Ticket #1649: Prepare for prerelease mc-4.7.0-pre3 (code cleanup) 2009-10-01 16:14:32 +03:00
syntax.c Some speed optimization of editor. 2009-12-16 11:10:40 +02:00
wordproc.c Some speed optimization of editor. 2009-12-16 11:10:40 +02:00