On Thu, Jan 30, 2025 at 11:57:43AM +0100, Philippe Mathieu-Daudé wrote:
> Replace g_strdup_printf("%s", value) -> g_strdup(value)
> to avoid unnecessary string formatting.
>
> Signed-off-by: Philippe Mathieu-Daudé <[email protected]>
> ---
> crypto/hash-afalg.c | 2 +-
> hw/ppc/spapr_caps.c | 2 +-
> plugins/loader.c | 2 +-
> target/i386/cpu.c | 2 +-
> trace/simple.c | 2 +-
> ui/console.c | 4 +---
> ui/gtk.c | 3 +--
> util/module.c | 2 +-
> 8 files changed, 8 insertions(+), 11 deletions(-)Reviewed-by: Stefan Hajnoczi <[email protected]>
signature.asc
Description: PGP signature
