mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 02:01:24 +01:00
9pfsd: fix release build with old gcc
Being able to recognize that "par" is reliably initialized on the 1st loop iteration requires not overly old compilers. Fixes:7809132b1a("tools/xen-9pfsd: add 9pfs response generation support") Signed-off-by: Jan Beulich <jbeulich@suse.com> Reviewed-by: Juergen Gross <jgross@suse.com> master commit:984cb316cbmaster date: 2024-08-02 08:44:22 +0200
This commit is contained in:
1 parent
e0e84771b6
commit
8ad5a8c5c3
1 file changed
+1
-1
+1
-1
@@ -196,7 +196,7 @@ static void fill_buffer_at(void **data, const char *fmt, ...);
|
||||
static void vfill_buffer_at(void **data, const char *fmt, va_list ap)
|
||||
{
|
||||
const char *f;
|
||||
const void *par;
|
||||
const void *par = NULL; /* old gcc */
|
||||
const char *str_val;
|
||||
const struct p9_qid *qid;
|
||||
const struct p9_stat *stat;
|
||||
|
||||