patch 9.0.2003: xxd: compilation warning
Commit:
https://github.com/vim/vim/commit/7879bc5c13311c1fb6497776ed7804400852460a
Author: Christian Brabandt <[email protected]>
Date: Sun Oct 8 20:36:44 2023 +0200
patch 9.0.2003: xxd: compilation warning
Problem: xxd: compilation warning
Solution: initialize variables
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/version.c b/src/version.c
index 6a92ab75c..9a653f074 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 2003,
/**/
2002,
/**/
diff --git a/src/xxd/xxd.c b/src/xxd/xxd.c
index 56fb32183..544aa50b9 100644
--- a/src/xxd/xxd.c
+++ b/src/xxd/xxd.c
@@ -136,7 +136,7 @@ extern void perror __P((char *));
# endif
#endif
-char version[] = "xxd 2023-10-06 by Juergen Weigert et al.";
+char version[] = "xxd 2023-10-08 by Juergen Weigert et al.";
#ifdef WIN32
char osver[] = " (Win32)";
#else
@@ -364,7 +364,7 @@ huntype(
int hextype,
long base_off)
{
- int c, ign_garb = 1, n1 = -1, n2 = 0, n3, p = cols, bt, b = 0, bcnt = 0;
+ int c, ign_garb = 1, n1 = -1, n2 = 0, n3 = 0, p = cols, bt = 0, b = 0, bcnt
= 0;
long have_off = 0, want_off = 0;
rewind(fpi);
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1qpYm1-00E1zd-2k%40256bit.org.