commit | ac77aec4daea8d73468fcf4690cb4ccab1d807ed | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Jul 26 22:02:54 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Jul 26 22:02:54 2016 +0200 |
tree | 5ab80634ba81c489585b0399292ccde96c97e898 | |
parent | eec2981bbee42411044800bc23731ebcc82b5b66 [diff] [blame] |
patch 7.4.2106 Problem: Clang warns about missing field in initializer. Solution: Define COMMA and use it. (Kazunobu Kuriyama)
diff --git a/src/vim.h b/src/vim.h index e2d4cc4..498078a 100644 --- a/src/vim.h +++ b/src/vim.h
@@ -1765,6 +1765,7 @@ # ifndef INIT # define INIT(x) x # define DO_INIT +# define COMMA , # endif #endif