summaryrefslogtreecommitdiff
path: root/src/vim9execute.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-08-02 18:07:18 +0200
committerBram Moolenaar <Bram@vim.org>2021-08-02 18:07:18 +0200
commit952d9d827e5bfc66a6b1d39956e4e5596b09e2bd (patch)
tree0b2581eeaec39b6bad25b58f537d8ea1e893b79c /src/vim9execute.c
parent1321257317b7d28228a6a9a0d612f81f70290b4c (diff)
downloadvim-git-952d9d827e5bfc66a6b1d39956e4e5596b09e2bd.tar.gz
patch 8.2.3274: macro for printf format check can be simplifiedv8.2.3274
Problem: Macro for printf format check can be simplified. Solution: Add ATTRIBUTE_FORMAT_PRINTF(). (Dominique Pellé, issue #8635)
Diffstat (limited to 'src/vim9execute.c')
-rw-r--r--src/vim9execute.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/vim9execute.c b/src/vim9execute.c
index f944fd709..11f190c0d 100644
--- a/src/vim9execute.c
+++ b/src/vim9execute.c
@@ -22,14 +22,6 @@
#include "vim9.h"
-#if defined(__GNUC__) || defined(__clang__)
-# define likely(x) __builtin_expect((x), 1)
-# define unlikely(x) __builtin_expect((x), 0)
-#else
-# define unlikely(x) (x)
-# define likely(x) (x)
-#endif
-
// Structure put on ec_trystack when ISN_TRY is encountered.
typedef struct {
int tcd_frame_idx; // ec_frame_idx at ISN_TRY