Problem: Compiler warning about ununitialized variable in ex_docmd.
Solution: Initialize result variable (mityu)
Silence uninitialized variable warning produced by clang 21.1.0
closes: #18182
Signed-off-by: mityu <mityu.mail@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
{
int i;
char_u *s;
- char_u *result;
+ char_u *result = (char_u *)"";
char_u *resultbuf = NULL;
size_t resultlen;
buf_T *buf;
#endif
break;
#endif
-
- default:
- result = (char_u *)""; // avoid gcc warning
- break;
}
resultlen = STRLEN(result); // length of new string
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1724,
/**/
1723,
/**/