qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH 0/2] Yet more gcc warnings fixes


From: Juan Quintela
Subject: [Qemu-devel] [PATCH 0/2] Yet more gcc warnings fixes
Date: Mon, 11 Jul 2011 18:15:10 +0200

More places that have write only variables.

Once here, why we have clovvered arg7 is a good question (TM)

abi_long do_syscall(void *cpu_env, int num, abi_long arg1,
                    abi_long arg2, abi_long arg3, abi_long arg4,
                    abi_long arg5, abi_long arg6, abi_long arg7,
                    abi_long arg8)
{

        .....
            abi_ulong arg_sigset, *arg7;
        ....

Using a different name could be a good idea.

Please, apply.

Later, Juan.

Juan Quintela (2):
  xen_mapcache: remove unused variable
  syscall: pselect arg_sigsize variable was write only

 linux-user/syscall.c |    3 +--
 xen-mapcache.c       |    3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

-- 
1.7.6




reply via email to

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