comparison src/mark.c @ 27018:268f6a3511df v8.2.4038

patch 8.2.4038: various code not used when features are disabled Commit: https://github.com/vim/vim/commit/748b308eebe8d8860888eb27da08333f175d547d Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Sat Jan 8 12:41:16 2022 +0000 patch 8.2.4038: various code not used when features are disabled Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pell?, closes https://github.com/vim/vim/issues/9491)
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Jan 2022 13:45:04 +0100
parents d02d40f0261c
children fb4c30606b4a
comparison
equal deleted inserted replaced
27017:da790d50f73d 27018:268f6a3511df
1366 if (namedfm[i].fmark.mark.lnum != 0) 1366 if (namedfm[i].fmark.mark.lnum != 0)
1367 vim_free(namedfm[i].fname); 1367 vim_free(namedfm[i].fname);
1368 } 1368 }
1369 #endif 1369 #endif
1370 1370
1371 #if defined(FEAT_VIMINFO) || defined(PROTO)
1371 /* 1372 /*
1372 * Return a pointer to the named file marks. 1373 * Return a pointer to the named file marks.
1373 */ 1374 */
1374 xfmark_T * 1375 xfmark_T *
1375 get_namedfm(void) 1376 get_namedfm(void)
1376 { 1377 {
1377 return namedfm; 1378 return namedfm;
1378 } 1379 }
1380 #endif
1379 1381
1380 #if defined(FEAT_EVAL) || defined(PROTO) 1382 #if defined(FEAT_EVAL) || defined(PROTO)
1381 /* 1383 /*
1382 * Add information about mark 'mname' to list 'l' 1384 * Add information about mark 'mname' to list 'l'
1383 */ 1385 */