Skip to content

Commit 1d6fbe6

Browse files
committed
patch 7.4.1358
Problem: Compiler warning when not building with +crypt. Solution: Add #ifdef. (John Marriott)
1 parent 132006c commit 1d6fbe6

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/undo.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,9 @@ static void u_freeentry(u_entry_T *, long);
116116
static void corruption_error(char *mesg, char_u *file_name);
117117
static void u_free_uhp(u_header_T *uhp);
118118
static int undo_write(bufinfo_T *bi, char_u *ptr, size_t len);
119+
# ifdef FEAT_CRYPT
119120
static int undo_flush(bufinfo_T *bi);
121+
# endif
120122
static int fwrite_crypt(bufinfo_T *bi, char_u *ptr, size_t len);
121123
static int undo_write_bytes(bufinfo_T *bi, long_u nr, int len);
122124
static void put_header_ptr(bufinfo_T *bi, u_header_T *uhp);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -747,6 +747,8 @@ static char *(features[]) =
747747

748748
static int included_patches[] =
749749
{ /* Add new patch number below this line */
750+
/**/
751+
1358,
750752
/**/
751753
1357,
752754
/**/

0 commit comments

Comments
 (0)