qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 2/4] hvf: Fixes some compilation warnings


From: Roman Bolshakov
Subject: Re: [PATCH v2 2/4] hvf: Fixes some compilation warnings
Date: Mon, 6 Nov 2023 10:46:32 +0530

On Sat, Oct 21, 2023 at 10:05:16PM +0200, Phil Dennis-Jordan wrote:
> A bunch of function definitions used empty parentheses instead of (void) 
> syntax, yielding the following warning when building with clang on macOS:
> 
> warning: a function declaration without a prototype is deprecated in all 
> versions of C [-Wstrict-prototypes]
> 
> In addition to fixing these function headers, it also fixes what appears to 
> be a typo causing a variable to be unused after initialisation.
> 
> warning: variable 'entry_ctls' set but not used [-Wunused-but-set-variable]
> 

Reviewed-by: Roman Bolshakov <roman@roolebo.dev>
Tested-by: Roman Bolshakov <roman@roolebo.dev>

Thanks,
Roman



reply via email to

[Prev in Thread] Current Thread [Next in Thread]