From: Peter Dinda Date: Wed, 1 Jul 2015 22:36:11 +0000 (-0500) Subject: Cleanup based on cppcheck pass (GEARS) X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=commitdiff_plain;h=23cb8f81d3bcbf1fede0d6670361511521fcc52f Cleanup based on cppcheck pass (GEARS) --- diff --git a/palacios/src/gears/ext_syscall_hijack.c b/palacios/src/gears/ext_syscall_hijack.c index a910414..8e21769 100644 --- a/palacios/src/gears/ext_syscall_hijack.c +++ b/palacios/src/gears/ext_syscall_hijack.c @@ -103,7 +103,7 @@ static void print_syscall (uint8_t is64, struct guest_info * core) { int v3_syscall_handler (struct guest_info * core, uint8_t vector, void * priv_data) { uint_t syscall_nr = (uint_t) core->vm_regs.rax; - int err = 0, ret = 0; + int err = 0; struct v3_syscall_hook * hook = syscall_hooks[syscall_nr];