Mercurial > vim
changeset 28631:198a2caa8ac2 v8.2.4839
patch 8.2.4839: compiler warning for unused argument
Commit: https://github.com/vim/vim/commit/0a748d91846a4c3422975acc0af78c806623c191
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Apr 28 15:39:08 2022 +0100
patch 8.2.4839: compiler warning for unused argument
Problem: Compiler warning for unused argument.
Solution: Add "UNUSED".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 28 Apr 2022 16:45:02 +0200 |
parents | 0d78a0715a2a |
children | 53b07741a47c |
files | src/gui_gtk_x11.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -1314,7 +1314,7 @@ key_press_event(GtkWidget *widget UNUSED #if defined(FEAT_XIM) || GTK_CHECK_VERSION(3,0,0) static gboolean key_release_event(GtkWidget *widget UNUSED, - GdkEventKey *event, + GdkEventKey *event UNUSED, gpointer data UNUSED) { # if defined(FEAT_XIM)