comparison src/gui.c @ 19760:9daed26b788b v8.2.0436

patch 8.2.0436: no warnings for incorrect printf arguments Commit: https://github.com/vim/vim/commit/db99f9f29a248b84742b6779c3343123f72065e7 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Mar 23 22:12:22 2020 +0100 patch 8.2.0436: no warnings for incorrect printf arguments Problem: No warnings for incorrect printf arguments. Solution: Fix attribute in declaration. Fix uncovered mistakes. (Dominique Pelle, closes #5834)
author Bram Moolenaar <Bram@vim.org>
date Mon, 23 Mar 2020 22:15:05 +0100
parents 22f0dda71638
children 09a621bdb0bc
comparison
equal deleted inserted replaced
19759:321ee36ae10c 19760:9daed26b788b
540 if (use_gvimrc != NULL) 540 if (use_gvimrc != NULL)
541 { 541 {
542 if (STRCMP(use_gvimrc, "NONE") != 0 542 if (STRCMP(use_gvimrc, "NONE") != 0
543 && STRCMP(use_gvimrc, "NORC") != 0 543 && STRCMP(use_gvimrc, "NORC") != 0
544 && do_source(use_gvimrc, FALSE, DOSO_NONE, NULL) != OK) 544 && do_source(use_gvimrc, FALSE, DOSO_NONE, NULL) != OK)
545 semsg(_("E230: Cannot read from \"%s\""), use_gvimrc, NULL); 545 semsg(_("E230: Cannot read from \"%s\""), use_gvimrc);
546 } 546 }
547 else 547 else
548 { 548 {
549 /* 549 /*
550 * Get system wide defaults for gvim, only when file name defined. 550 * Get system wide defaults for gvim, only when file name defined.