aboutsummaryrefslogtreecommitdiffstats
path: root/src/font.c
diff options
context:
space:
mode:
authorPaul Eggert2016-06-08 10:33:34 -0700
committerPaul Eggert2016-06-08 11:50:42 -0700
commit82f49c6a373f981a778f4d939ca2d47c031e0659 (patch)
treee84afa8e7af336f15f37789fbf23f4ec62905790 /src/font.c
parent7715ee54b3588cfdef03b5d45aaf44b73b422ec6 (diff)
downloademacs-82f49c6a373f981a778f4d939ca2d47c031e0659.tar.gz
emacs-82f49c6a373f981a778f4d939ca2d47c031e0659.zip
Replace IF_LINT by NONVOLATILE and UNINIT
Inspired by a suggestion from RMS in: http://bugs.gnu.org/23640#58 * .dir-locals.el (c-mode): Adjust to macro changes. * src/conf_post.h (NONVOLATILE, UNINIT): New macros (Bug#23640). (IF_LINT): Remove. All uses replaced by the new macros.
Diffstat (limited to 'src/font.c')
-rw-r--r--src/font.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/font.c b/src/font.c
index 6dbda40d52f..f289891bf65 100644
--- a/src/font.c
+++ b/src/font.c
@@ -2234,7 +2234,8 @@ font_sort_entities (Lisp_Object list, Lisp_Object prefer,
2234 struct font_sort_data *data; 2234 struct font_sort_data *data;
2235 unsigned best_score; 2235 unsigned best_score;
2236 Lisp_Object best_entity; 2236 Lisp_Object best_entity;
2237 Lisp_Object tail, vec IF_LINT (= Qnil); 2237 Lisp_Object tail;
2238 Lisp_Object vec UNINIT;
2238 USE_SAFE_ALLOCA; 2239 USE_SAFE_ALLOCA;
2239 2240
2240 for (i = FONT_WEIGHT_INDEX; i <= FONT_AVGWIDTH_INDEX; i++) 2241 for (i = FONT_WEIGHT_INDEX; i <= FONT_AVGWIDTH_INDEX; i++)