Skip to contentSkip to conversation

Add missing return statement

PATCH Applied Stefan Weil 2 participants 2 messages Oct 17, 2008 – Oct 24, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing return statement

This patch adds a missing return statement (this fixes compiler warning). Maybe it also fixes a malfunction (not tested).

Please apply it to Qemu trunk.

Stefan

Add missing return statement (fixes compiler warning).

syscall.c +1 -0
Index: linux-user/syscall.c
===================================================================
@@ -1934,6 +1934,7 @@
     __put_user(host_msginfo->msgtql, &target_msginfo->msgtql);
     __put_user(host_msginfo->msgseg, &target_msginfo->msgseg);
     unlock_user_struct(target_msginfo, target_addr, 1);
+    return 0;
 }
 
 static inline abi_long do_msgctl(int msgid, int cmd, abi_long ptr)
#1 lore raw
Quoted 4 lines · Stefan Weil

This patch adds a missing return statement (this fixes compiler warning). Maybe it also fixes a malfunction (not tested).

Please apply it to Qemu trunk.

Thanks, applied.

Signature · 4 lines
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [email protected]         | [email protected]
   `-    people.debian.org/~aurel32 | www.aurel32.net